- From: Wang K H <khong.hai.wang@gridnode.com>
- Date: Fri, 30 Mar 2001 13:47:23 +0800
- To: <xmlschema-dev@w3.org>
Received on Friday, 30 March 2001 00:48:23 UTC
Hi all, I am new to schema and is trying to write a schema. Please refer to the example below : <Value POSITION="4">PART</Value> How do I define the schema for the above element? Right now, I am writing as : <xsd:element name="Value" minOccurs="0" maxOccurs="unbounded"> <xsd:complexType> <xsd:attribute name="POSITION" type="xsd:positiveInteger" use="optional"/> </xsd:complexType> </xsd:element> In the above, I miss out the type for the element value. How or where can I specify it? If none is specified, what will the default type be? Thanks in advance for any help.
Received on Friday, 30 March 2001 00:48:23 UTC