difference between nameofelement and (nameofelement)
what is the difference between "nameofelement" and "(nameofelement)" in XSL?
<xsl:with-param name="number" select="preceding::footnote/preceding::endnote" />
works with Saxonb 8 and Xalan 2.6.0, whereas
<xsl:with-param name="number" select="(preceding::footnote)/(preceding::endnote)" />
works with Saxon but gives the following error in Xalan:
"Relative location path expected following '/' or '//'"
Hope this is not a Xalan-specific question. :)
Thanks - Burghard
ps: Of course the given line is a reduced version. The full version is:
count( (preceding::footnote[@start] | preceding::endnote[@start])[position()=last()]/(preceding::footnote | preceding::endnote))
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