This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Future XSLT expansion.




> Having node-set typecast in the core allows writing 
> XSLT-vendor-independent extensions. 

I can't see any use for a node-set typecast within xslt, except
for the one special case of result-tree to node set.

Extension functions may return node-sets, if they return some other
vendor-specific datatype, how would casting to node-set work?
in general it is not at all clear what the conversion `should' be
and if you wanted a node set why not use an extension function
that returns a node set rather than one that returns some private
datatype that needs to be coerced to a node set.

Can you give an example of what you have in mind?

David


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]