[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Transforming multiple XML files into one file
O.K. guys, I have an XML file that looks like this:
<files> <file>file1.xml</file> <file>file2.xml</file> <file>file3.xml</file> </files> and an XSLT that looks like this: <xsl:template match="movie"> <xsl:copy-of select="document(document('list.xml')/files/file)/ story"/> </xsl:template> In the past I have been applying an XSLT to an existing XML file using Oxygen. So I'd open up the file that I want to transform and then the XSLT would apply the transformation to that document and give me the resulting output. In this situation, there isn't an XML file to start with. Should I just open a blank XML file and do a transformation on it? Forgive my ignorance here. On Jul 3, 2006, at 6:57 PM, Michael Kay wrote: If the argument to the document() function is a string containing a relative
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|