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

Re: XSLT 1.1 comments

Subject: Re: XSLT 1.1 comments
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 15 Feb 2001 09:26:20 GMT
Re:  XSLT 1.1 comments

  Implementations can provide this functionality *independent*
  of the language the XSLT processor is written in.

NO! They can't that is what I was trying to say.

The above is a description of saxon:node-set and friends
other implementations could choose to implement saxon's namespace full
of built in extensions and that would work as you describe.

But that kind of extension functionality is unchanged in 1.1.

what xsl:script is trying to do is give similar flexibility to
what currently in saxon or xt you would do


<xsl:value-of
xmlns:fudge="http://www.jclark.com/xt/java/the.full.java.name"
  select="fudge:randomMethodInThisClass($x)"/>

That is, saxon, xalan, xt, and friends can execute arbitrary java
methods that happen to be in your classpath. The namespace used for the
extension function directly points at at the java class (although not
directly at a particu;ar implemntation).

xsl:script gives an indirection allowing this to be more portable.
Rather than use a namespace directing you to a java class, use a random
namespace and then offere several possible bindings of that namespace to
implementations, java vbscript or whatever.

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet delivered
through the MessageLabs Virus Control Centre. For further information visit
http://www.star.net.uk/stats.asp

 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.