Subject: RE: RE: syntax sugar for call-template
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Sat, 17 Feb 2001 09:04:27 -0000
|
> However If you did try to merge with named templates I wouldn't
> have thought the above would be a problem, as I'd have expected
> foo:named-template-as-function()
> to act like $x where x is some internal hidden variable, essentially
> set by
> <xsl:variable name="x">
> <xsl:call-template name="foo:named-template-as-template">
> .....
>
i.e. you'd make any output written by the template disappear down a black
hole? I think that would cause extra traffic on this list, something to be
avoided at all costs. With a separate <xsl:function> construct it's easy to
make any attempt to write output an error.
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
- Re: RE: syntax sugar for call-template, (continued)
- Francis Norton - Fri, 16 Feb 2001 08:14:55 -0500 (EST)
- Jeni Tennison - Fri, 16 Feb 2001 08:23:14 -0500 (EST)
- Michael Kay - Fri, 16 Feb 2001 13:12:47 -0500 (EST)
- David Carlisle - Fri, 16 Feb 2001 13:44:08 -0500 (EST)
- Michael Kay - Sat, 17 Feb 2001 04:06:48 -0500 (EST) <=
- Jeni Tennison - Fri, 16 Feb 2001 14:42:01 -0500 (EST)
- Michael Kay - Sat, 17 Feb 2001 04:14:27 -0500 (EST)
- Jeni Tennison - Sat, 17 Feb 2001 07:12:29 -0500 (EST)
- Clark C. Evans - Sat, 17 Feb 2001 12:40:48 -0500 (EST)
|
|