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

Re: xsl:script: functions written in XSLT

Subject: Re: xsl:script: functions written in XSLT
From: tra@xxxxxxxxxxxxxxx (Thorbjoern Ravn Andersen)
Date: Wed, 17 Jan 2001 13:38:48 +0100
script written by jan
* Jeni Tennison <mail@xxxxxxxxxxxxxxxx> [Jan 09. 2001 12:48]:

> One big advantage of this would be that it would diminish the current
> extremely verbose syntax for calling named templates.  Rather than
> having to do:
> 
>   <xsl:variable name="intersection">
>     <xsl:call-template name="intersection">
>       <xsl:with-param name="set1" select="$set1" />
>       <xsl:with-param name="set2" select="$set2" />
>     </xsl:call-template>
>   </xsl:variable>
>   <xsl:for-each select="$intersection">
>     ...
>   </xsl:for-each>
> 
> I could do:
> 
>   <xsl:for-each select="set:intersection($set1, $set2)">
>     ...
>   </xsl:for-each>

So what you are effectively suggesting is a re-merge of the XPath and
XSLT languages?

I think it is a good idea, if the language binding is well specified,
but left optional to the implementor.

-- 
  Thorbjørn Ravn Andersen                   "...sound of... Tubular Bells!"
  http://bigfoot.com/~thunderbear

 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.