|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: difficulties with the position() function and xpa
> However, I get two
> different numbers assigned (and thus my html links don't work). Any ideas
> on how to get around this? I've included a simple example below.
Stash the number in a variable and pass it as a parameter. I do this with
generated id's which might give you even better semantics, unless you need
the file names to be the same from run to run? Eg:
<xsl:variable name="cur-id" select="generate-id()"/>
<xsl:apply-templates select="gunk">
<xsl:with-param name="cur-id" select="$cur-id"/>
passing the cur-id parameter around as needed...
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








