|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: XPath count function in JavaScript
Hi Tomas, The reason you are not seeing the output of the count is because you are loading the value into an xsl:variable and not to the output of the transform. An xsl:variable is pretty much like any other "variable" construct in other programming languages. So, you are not going to see the variables value unless you "return it" or display it somehow from its context/scope. In order to get the value to the output stream of the transform, you need to either select the value from the variable or directly output the count value ... either way you'll most likely want to use xsl:value-of, which I believe someone has already shown you how to do. This is a pretty fundamental concept, so you may want to look into getting a book on xslt to learn more about the language. - Jeff
|
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








