Re: Ugh! accessing current value in <A name= in template

Subject: Re: Ugh! accessing current value in <A name= in template
From: Jeremy CALLES <Jeremy.Calles@xxxxxxxxxxxxxxx>
Date: Mon, 02 Nov 1998 09:56:18 +0100
If you want to have this result:
 <TR>
   <TD><A name="id1">&#160;</A>1</TD>
                  ^            ^
                  |            |   both are the tag value
 </TR>


With this part of XML:

<item>
   <id>1</id>
   etc.

The XSL rule should be:

<xsl:template match="item/id">
  <TD><A name="id{.}">&#160;</A><xsl:process-children/></TD>
</xsl:template>

I don't know if it's work with XT, but the Koala XSL Engine support
these feature.

-- 
Jeremy CALLES  --- Jeremy.Calles@xxxxxxxxxxxxxxx
home page      --- http://www.mygale.org/07/jcalles


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


Current Thread