This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: document() and keys

[Get raw message]

> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]