Beginners XML/XSLT question

G

Greg

I am beginning the process of writing a XSLT for XML to CSV. Is it
possible to do this so that many XML files produce one CSV file?


Thanks!
Greg
 
M

Martin Honnen

Greg said:
I am beginning the process of writing a XSLT for XML to CSV. Is it
possible to do this so that many XML files produce one CSV file?

Yes, XSLT 1.0 applies one XSLT stylesheet to one main XML source file
but you can access other XML documents using the function named document
e.g.
<xsl:for-each select="document('whatever.xml')//*">
see
http://www.w3.org/TR/xslt#document
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,825
Latest member
VernonQuy6

Latest Threads

Top