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

Re: RE: Designs for XSLT functions

Subject: Re: RE: Designs for XSLT functions
From: David.Rosenborg@xxxxxxxxxx
Date: Tue, 20 Feb 2001 16:50:05 +0100
list of xslt functions
> > Hmh, I think you missed my point about having a conditional
> > construct in XPath.
> 
> [snip illegal XPath 1.0]
> 
> I think there is some confusion here.

Well, I'm not confused, are you? ;-)

> I think it's most useful to stay within the bounds of legal XSLT and XPath 
> 1.0, especially since I think all we want has been demonstrated as possible 
> within those bounds.  After establishing things a bit, we can work up an 
> informed wish-list of XSLT/XPath > 1.0 enhancements with respect to XSLT-
based 
> extension functions.

As I said in an earlier post:
an attribute on a top level or extension element can contain
an enhanced XPath and it would still be perfectly legal XSLT 1.0.

What I'm arguing is that a couple of non-intrusive extensions
to XPath is preferable to an intrusive mix of XPath and XSLT
instructions. Intrusive in the sense that it changes
constraints on existing XSLT instructions.

Preferable from a definition perspective:
  * simply define the XPath extensions, no need to create a
    list of restrictions to existing XSLT instructions.

Preferable from a usage perspective:
  * Only have to learn a few new XPath extensions, everything else
    work as before.
  * There will be no confusion about when a RTF is returned and
    when a node set is returned. In XSLT 1.1 this would be a slightly
    smaller issue with implicit RTF->node set conversion but you would
    still have differences, like the root node, base URI, performance
    etc.

Preferable from an implmentation perspective:
  * No need to interfer with the execution model of template instructions.
  * Pure XPath extensions are easy to implement, at least in my experience.

Cheers,

</David>

David Rosenborg
Pantor Engineering AB


 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.