Re: How to use generate-id() inside an xsl:function w
But please get out of the habit of using xsl:value-of
For your comfort: that is precisely the way it is in my XSLT, I just left it out for brevity ;)
And indeed, I still often use xsl:value-of, I partially blame XSLT 1 for that: I use both on a daily basis and get confused....
The cheapest solution is probably a text or comment node rather than an element, something like:
That is a great tip. Thanks!
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