[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Designs for XSLT functions (Was: Re: RE: syntax su

Subject: Re: Designs for XSLT functions (Was: Re: RE: syntax sugar for call-template)
From: Miloslav Nic <nicmila@xxxxxxxxx>
Date: Tue, 20 Feb 2001 14:45:46 +0100
xsl nodeset
I ran it with Saxon 5.5.1

but to be honest I am not sure.

I am never sure when result tree fragments are returned and when
nodesets.
At this moment I am using an empirical test: if Saxon returns nodeset
then it 
is O.K. :)
I am so glad these ugly fragment ghosts disappear from 1.1



Francis Norton wrote:
> 
> 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

-- 
******************************************
<firstName> Miloslav </firstName>    
<surname>   Nic      </surname>     

<mail>    nicmila@xxxxxxxxx    </mail>   
<support> http://www.zvon.org  </support>
<zvonMailingList> 
    http://www.zvon.org/index.php?nav_id=4 
</zvonMailingList>

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.