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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   XML Schema!!

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

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@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