J
JanJaap
Hi,
Is it possible to use xml data (based on xsd) as input other xml data?
I think of somethig like this:
In the xsd file:
....
<xsd:element name="class">
<xsd:attribute name="name" type="xsd:string>
<xsd:sequence>
<xsd:element name="property" type="xsd:string">
</xsd:sequence>
</element>
....
In the xml file:
<class name="car">
<property>width</property>
<property>length</property>
<property>Topspeed</property>
</class>
....
Now I will use the xml file as input for another xml file so I can make this:
<car>
<width>150 cm</width>
<length>400 cm</length>
<Topspeed>140 mph</topspeed>
</car>
Is there any way to do this?
Thnx,
JanJaap
Is it possible to use xml data (based on xsd) as input other xml data?
I think of somethig like this:
In the xsd file:
....
<xsd:element name="class">
<xsd:attribute name="name" type="xsd:string>
<xsd:sequence>
<xsd:element name="property" type="xsd:string">
</xsd:sequence>
</element>
....
In the xml file:
<class name="car">
<property>width</property>
<property>length</property>
<property>Topspeed</property>
</class>
....
Now I will use the xml file as input for another xml file so I can make this:
<car>
<width>150 cm</width>
<length>400 cm</length>
<Topspeed>140 mph</topspeed>
</car>
Is there any way to do this?
Thnx,
JanJaap