[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: How to use generate-id() inside an xsl:function w
> Unless the XSLT processor decides to "optimize" this and > makes the node global(static) -- moves it outside the scope > of the function.... It's not allowed to. In that respect, XSLT and XQuery are not purely functional: node creation has a limited side-effect. This comes out most strongly in XQuery, where you will see plenty of tests in the test suite like count(for $i in 1 to 10 return <a/>) Michael Kay http://www.saxonica.com/
|
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
|