[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: xsl:script: functions written in XSLT
* 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|