|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: How to use xsl:key for another document()
Am Dienstag, 31. Juli 2001 09:05 schrieb Jarno.Elovirta@xxxxxxxxx:
> <xsl:variable name="doc1" select="document('doc1.xml')"/>
> <xsl:key name="more-chapters" match="chapter" use="@id"/>
>
> <xsl:template match="...">
> <xsl:for-each select="$document">
> <xsl:apply-templates select="key('more-chapters', ...)"/>
> <xsl:for-each>
> </xsl:template>
Wow, cool.
Sometimes it´s easier as it seems, thanks a lot.
Janning
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|

Cart








