> Carmelo Montanez wrote:
> Is there any quick way to have the same xslt stylesshet
> read and process multiple xml files in sequence?
You can refer to multiple XML documents from within a stylesheet via the document() function, e.g.
<xsl:variable name="doc1_root" select="document('doc1.xml')"/>
<xsl:variable name="doc2_root" select="document('doc2.xml')"/>
<xsl:text>
some data from doc1: </xsl:text>
<xsl:value-of select="$doc1_root/path/to/some/textnodes"/>
<xsl:text>
some data from doc2: </xsl:text>
<xsl:value-of select="$doc2_root/path/to/some/textnodes"/>
At least, I think that's what you're asking.
- Mike
___________________________________________________________
Mike J. Brown, software engineer, Webb Interactive Services
XML/XSL stuff: http://www.skew.org/ http://www.webb.net/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list