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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Parsing values from a XML fil to a XSD schema

[ Lists Home | Date Index | Thread Index ]

Hi
I am trying to pass some values from a XML file to a Schema. But I can’t 
quit figure out how to do it. I suppose that I have to use a XSL but I am 
not quite sure.

Is it possible to use some kind of copy or include?

To give you a better understanding try to look at these to peaces of code:

XML:
<rule>
<description>Max</description>
<value>2</value>
</rule>

XSD:
<xs:sequence>
<xs:element name="answer" type="xs:string" maxOccurs="insert_here"/>
</xs:sequence>

I would like to add the value field (2) to the XSD in the maxOccurs 
(insert_here)

Thank in advance

Regards
John
Denmark

_________________________________________________________________
Nem, sjov og hurtig chat med vennerne med MSN Messenger  
http://messenger.msn.dk





 

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

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