[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Re: [xsl] xsl:script: functions written in XSLT
Subject: Re: [xsl] xsl:script: functions written in XSLT From: tra@xxxxxxxxxxxxxxx (Thorbjoern Ravn Andersen) Date: Wed, 17 Jan 2001 13:38:48 +0100 |
* 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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] xsl:script: functions wri, Lassi A. Tuura | Thread | RE: [xsl] xsl:script: functions wri, sara . mitchell |
Re: [xsl] the nearest ancestor with, Jonathan Borden | Date | Re: [xsl] the nearest ancestor with, David Carlisle |
Month |