XML Schema!!
vishal sharan
mettlus at yahoo.com
Wed Sep 1 00:47:22 BST 1999
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 at ic.ac.uk
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 at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)
More information about the Xml-dev
mailing list