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

RE: syntax sugar for call-template

Subject: RE: syntax sugar for call-template
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Thu, 15 Feb 2001 12:46:15 -0000
RE:  syntax sugar for call-template
>   <xf:func arg="val" />   is-equivalent-to   <call-template
> name="func">
>                                                <with-param name="arg"
>                                                  select="val" />
>                                             </call-template>

In the past I've considered doing this in Saxon. But I'm undecided whether
the attribute value should be an AVT (therefore always yielding a string) or
an XPath expression (in which case any value can be passed, but strings need
to be written in double-nested quotes, e.g. arg="'London'"). Any views?

(Though actually, I've also held off because I'm reluctant to implement
non-portable extensions if they provide nothing more than a saving in
keystrokes ...)

Mike Kay


 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.