|
Subject: Re: [xsl] How to use xsl:key for another document() From: Janning Vygen <vygen@xxxxxxxxxxxx> Date: Tue, 31 Jul 2001 11:39:17 +0200 |
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
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| RE: [xsl] How to use xsl:key for an, Jarno . Elovirta | Thread | [xsl] HTML link dynamically for spe, Jan Weiss |
| RE: [xsl] two columns in a table fr, Michael Kay | Date | RE: [xsl] How to use xsl:key for an, Michael Kay |
| Month |