[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

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
Re: Ugh!  accessing current value in <A name= in template
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.