This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: RE: syntax sugar for call-template


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]