[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] XML Schema!!
Hello Everyone! I need help of the Gurus to correct with the schema I have attempted to write in XML. The schema is ------------------------- <?xml version="1.0" ?> <Schema name="schema-sample_1" xmlns="urn:schema-skup-com:xml-data" xmlns:dt="urn:schema-skup-com:datatypes" model="open"> <ElementType name="DSC" content="mixed"> <AttributeType name="T" dt:type="LST" /> <AttributeType name="N" dt:type="text" /> <AttributeType name="R" dt:type="enumeration" /> </ElementType> <ElementType name="DFM" content="mixed"> <ElementType name="LST" content="mixed" /> <AttributeType name="N" dt:type="text" /> <AttributeType name="I" dt:type="int" /> <group order="seq"> <element type="L1" /> </group> </ElementType> <ElementType name="HDR" content="mixed"> <element type="DSC" minOccurs="1" maxOccurs="*" /> <element type="DFM" minOccurs="1" maxOccurs="1" /> </ElementType> </Schema> --------------------------- The XML Doc composed on that basis is ========================================= <?xml version="1.0"?> <HDR> <DSC T="LST" N="bla bla bla" R="t"> <DFM/> </DSC> </HDR> <LST N="bla bla bla"> <L1>googoo</L1> <L2>abracadabra</L2> <L3>open sesame</L3> <L4>baboom</L4> <L6>break on through to the other side</L6> </LST> </DSC> =============================================== Please help __________________________________________________ Do You Yahoo!? Bid and sell for free at http://auctions.yahoo.com xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i... Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1 To (un)subscribe, mailto:majordomo@i... the following message; (un)subscribe xml-dev To subscribe to the digests, mailto:majordomo@i... the following message; subscribe xml-dev-digest List coordinator, Henry Rzepa (mailto:rzepa@i...)
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|