hi,
I'am new in xsl and hope somebody can help me on this.
I'll like to transform the below input.xml file to
output.xml using the specify xsl file
example:
input.xml
<?xml version="1.0" encoding="UTF-8"?>
<sqlgeneral>
<productA>
<row>
<name>pen</name>
</row>
</productA>
<productB>
<row>
<code>b1221</code>
</row>
<row>
<code>6fr44</code>
</row>
...
</productB>
</sqlgeneral>
output.xml
<?xml version="1.0" encoding="UTF-8"?>
<name>
<item>pen</item>
<type>
<code>b1221</code>
</type>
<type>
<code>6fr44</code>
</type>
</name>
How does the xsl file look like if I need to produce the output.xml file?
Thank you.
regards,
jvhew
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|