I was wondering if anyone has done any footnote linking in an xsl for text output. I need to capture the chapter number like a global variable and apply it to the footnote references in text as well as to their respective corresponding destination footnotes. I have multiple chapters and previous to our conversion to xml, I did this using a global variable that overwrote itself with each new chapter number. In xsl, however, I'm a little stumped as the variable function doesn't work the same as we know variable work because its a constant values and cannot be overwritten with a new value. I have seen examples for hyperlinking to urls and multiple text files, but I haven't seen any examples of hyperlinking footnotes in a file with multiple chapters. Can anyone point me in the right direction? Maybe there's something I've overlooked in documentation I've researched through? Thanks so much for any help anyone can offer.
There is a trick allowing you to �update� variable: <xsl:variable name="myVar" select = "$myVar + 1"/> Of course, here you simply create a new variable with the same name. Another (probably better) way to count something is to use position() function. If it doesn�t solve your problem, maybe you could posts your input information and the output, you need to get, so we can say something more specific.