[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: "Steve Muench" <smuench@xxxxxxxxxxxxx>
Date: Mon, 20 Mar 2000 13:02:24 -0800
oracle.xml.parser.v2.xmlnodelist
| > But the 'node-sets'  they are returning ( and RTFs also ) 
| > are vendor specific.
| 
| No. If it returns something of type node-set then it is (or should be)
| usable by any xslt function expecting a node-set expression.

You're both a correct here. The spec allows for functions that
return the built-in types in the xpath data model,
but doesn't say anything about language bindings, so a question
a Java developer might ask is:

  "What should my Java extension function return to return an
   XPath node-set to my stylesheet?"

The answer turns out to be:

     XT: com.jclark.xsl.om.NodeIterator
  Saxon: com.icl.saxon.expr.NodeSetValue
  Xalan: org.w3c.dom.NodeList
 OraXSL: oracle.xml.parser.v2.XMLNodeList
   etc.

The spec doesn't get into the Java language bindings.

| There is currently no standard API for producing (or using) node-set
| expressions from within an extension function, but there is no standard
| API for producing extensions at all, so this seems to be a lack of
| standard API for extensions rather than a problem with XSLT itself.

This fact is not going unnoticed by the XSL Working Group. :-)
 
_________________________________________________________
Steve Muench, Consulting Product Manager & XML Evangelist
Business Components for Java Development Team

Oracle Rep to the W3C XSL Working Group



 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.