Subject: Re: document() and keys
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 13 Nov 2001 18:59:43 GMT
|
> But I can't see how to make keys work in this
> multi-document situation.
> xsl:for-each select="$src-root">
that's the way.
<xsl:variable name="here" select="."/>
<xsl:for-each select="$src-root">
<xsl:variable name="tmp" select="key(keyname,...)"/>
<xsl:for-each select="$here"/>
<xsl:call-template.....>
<xsl:with-param select="$tmp"/>
</xsl:call-template>
</xsl:for-each>
</xsl:for-each>
David
_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|