[Home] [By Thread] [By Date] [Recent Entries]

Subject: multiple input document question
From: "Greg Fausak" <lgfausak@xxxxxxxxx>
Date: Wed, 16 Jul 2008 21:16:32 -0500
Hi,

I'm wondering if there is any way to do the following:

<xsl:template match="*[@menu]">
        <xsl:variable name="id" select="@id"/>
        <xsl:for-each select="document('f1.xml')/$id">
...

I've tried all sorts of combinations.

I guess I can create an xslt output document
with the for-each statement selecting by the
value of the other document and just run
it through xslt twice.  It just starts getting a little
weird then!

Thanks!
-g


-- 
Greg Fausak
greg@xxxxxxxxxxxx

Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member