[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] How to dump a key for debuging purposes?


Subject: Re: [xsl] How to dump a key for debuging purposes?
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 10 May 2001 18:51:50 +0100

<xsl:for-each select="//a/b/c">

  MyKey contains node
   <xsl:value-of select="generate-id()"/>
  with value
    <xsl:value-of select="concat(d,':',e,':',f)"/>
</xsl:for-each>

By the way the // is needed in the above select but not in your match.
Initial // don't do anything in matches except alter the default
priority on templates (and don't do anything at all on a key
definition).


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

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread