|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Ugh! accessing current value in <A name= in template
If you want to have this result:
<TR>
<TD><A name="id1"> </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{.}"> </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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








