Re: Designs for XSLT functions (Was: Re: RE: syntax su
Miloslav Nic wrote: > > > I agree that for string manipulation, there's not much call for > > anything very sophisticated, and you can always call out to a named > > template if you need to. However, for node-set manipulation that's > > not always an option - you can't get a named template to return a node > > set. > > Actually you can: > --- C:\xml>saxon nodeset.xslt nodeset.xslt <?xml version="1.0" encoding="UTF-8"?>2 C:\xml>msxsl nodeset.xslt nodeset.xslt <?xml version="1.0" encoding="UTF-8"?> Error occurred while executing stylesheet 'nodeset.xslt'. Code: 0x80004005 Reference to variable or parameter 'xxx' must evaluate to a node list. C:\xml> --- Well, you can in Saxon 6.2 (which includes 1.1 support, though this shouldn't apply given the version="1.0") but not in MSXML3 - are you sure this is kosher? Francis. XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
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