Schema!!(XML)
vishal sharan
mettlus at yahoo.com
Wed Sep 1 02:26:22 BST 1999
Can anyone please help me correcting my xml doc(generated) on the basis
of schema described....
<xml:schema>
<elementType id="Packet">
<elt href="#Desc"/>
</elementType>
<elementType id="Desc"/>
<elt href="#LST"/>
<attribute id='T' types="LST"/>
<!--LST is another type of Element, is it correct to reference like
this -->
<attribute id='N' types="text"/>
<attribute id='R' types="{f|t}"/>
</elementType>
<elementType id="LST"/>
<elt href="#L"/>
<attribute id='N' types="text"/>
<attribute id='no' types="nmtokens"/>
</elementType>
<elementType id="L" name='text'/>
<attribute ord="int"/>
</elementType>
<xml:schema>
===============================================================
<Packet>
<Desc T="LST" N='bla bla bla' R='f'/>
<LST N="bla bla bla" no='4'/>
<L I="1">microsoft</L>
<L I="2">sears</L>
<L I="3">macys</L>
<L I="4">aol</L>
</Packet>
==========================================
__________________________________________________
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