[Home] [By Thread] [By Date] [Recent Entries]

  • To: xml-dev@l...
  • Subject: Parsing values from a XML fil to a XSD schema
  • From: "John Stubbe" <johnstubbe@m...>
  • Date: Sat, 17 May 2003 18:03:23 +0000
  • Bcc:

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


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member