Subject: RE: [xsl] 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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] RE: syntax sugar for call, David Carlisle | Thread | Re: [xsl] RE: syntax sugar for call, Jeni Tennison |
Re: [xsl] Rescuing XSLT from Niche , Uche Ogbuji | Date | RE: [xsl] RE: syntax sugar for call, Michael Kay |
Month |