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

Re: Future XSLT expansion.

Subject: Re: Future XSLT expansion.
From: David Carlisle <davidc@xxxxxxxxx>
Date: Mon, 20 Mar 2000 20:18:18 GMT
Re: Future XSLT expansion.
> What should I write if I want to return some 'node-set' from the extension 
> and I want that to be portable across different vendors engines ? 

As you know, you can't.


>  If I'm returning the String from extenstion - I'm fine.
You might be fine (well you almost certainly will be but you can't be
sure)

> Being possible to 
> switch from / to  Xalan from / to  Oracle XSL  from / to XT  should be
> enough.

> Yes, that's a political workaround. Actualy I don't like when some 
> technology is based on a hypotetical agreement between vendors. 

Even if teh API's for extensions were brought into line, it won't ever
be really convenient to do this unless the extensions are all in the
same namespace which means either an agreement between implementors
(short term) or an official w3c extension namespace.

> Returning Strings and allowing the typecast from Strings to node-sets
> is better.
?? How in general would you get from a string to a node set?
Parse it as XML? In that case why not just return the node set
directly, why force the internal tree to be linearised as a string and
> reparsed? 

> At that point it would be better to have to-node-set 
> typecast  in the core.

You obviously have something in mind since youve posted so many messages
in this thread all asking for the same thing, but I don't see it.
If the extension function is handling trees then it makes far more sense
to pass back a tree (aka node set) than a string. If it is not I don't
see how in general you can convert to a node set.

David


 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.