Subject: Re: [xsl] Transforming multiple XML files into one file From: Chad Chelius <cchelius@xxxxxxxxxxxxxxx> Date: Mon, 3 Jul 2006 08:48:25 -0400 |
not sure what you mean but if you have a file <files> <z>one.xml</z> <z>two.xml</z> <z>three.xml</z> </files>
and go
<xsl:variable name="files" select="document(document('files.xml')/ files/z)"/>
then $files is a node set of three document nodes representing one.xml two.xml and three.xml and you can apply templates to all three at once with <xsl:apply-templates select="$files"/> or extract elements from all three documents with xsl:for-each select="$files/some/path/to/here"
David
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] How Move Footnote in Para, Mukul Gandhi | Thread | Re: [xsl] Transforming multiple XML, David Carlisle |
[xsl] How Move Footnote in Paragrap, Byomkesh | Date | [xsl] Semantics of an extension ins, Florent Georges |
Month |