← Prev in month ← Prev in thread

Parsing values from a XML fil to a XSD schema

From
John Stubbe <>
To
Date
2003-05-17T18:03:23Z
ID
<>
Thread
Parsing values from a XML fil to a XSD schema
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
← Prev in month ← Prev in thread