Subject: Re: Cross-referencing
From: Francis Norton <francis@xxxxxxxxxxx>
Date: Mon, 18 Oct 1999 18:23:24 +0100
|
Francis Norton wrote:
>
> The following works with latest XT,
Whoops - not without the new namespace it doesn't...
> using the new "current()" function -
> it could also by placing the key values in variables. It might be worth
> trying out the key() apporach if performance is an issue.
>
> <?xml version="1.0"?>
> <xsl:stylesheet xmlns:xsl="http://www.w3.org/XSL/Transform/1.0">
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
>
> <xsl:template match="/">
> <result>
> <xsl:apply-templates select="//item"/>
> </result>
> </xsl:template>
>
...
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|