OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Schema!!(XML)

[ Lists Home | Date Index | Thread Index ]
  • From: vishal sharan <mettlus@yahoo.com>
  • To: xml-dev@ic.ac.uk
  • Date: Tue, 31 Aug 1999 17:30:54 -0700 (PDT)

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@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@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)






 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS