This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Re: Re: Re: Call Template with variable name
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] Re: Re: Re: Call Template with variable name
- From: Eric van der Vlist <vdv at dyomedea dot com>
- Date: Sat, 13 Oct 2001 21:03:21 +0200
- References: <20011013181233.91570.qmail@web14508.mail.yahoo.com>
- Reply-To: xsl-list at lists dot mulberrytech dot com
Dimitre Novatchev wrote:
>>
>>Just thought that one of the techniques I am using in my "stylefree
>>stylesheets" can apply here...
>>
>
> Eric, the technique you're describing is 100% the same as the one used in generic
> templates.
Arg. I should read more slowly, the introduction had let me think this
would me much more complex than what I was proposing!
> The only minor difference is that you're passing as parameter the name of
> the template to be instantiated (and this could lead to some unwanted naming
> resolution problems when templates are being imported), while when using generic
> templates one passes just the unique node, which is uniquely matched by the template
> to be instantiated.
That's a good point.
I don't think you are using the information that may be conveyed by what
I have called the "hooks", though and I think there is, here, a
possibility to pass useful info to the template in a less verbose way
than using an additional parameter.
>
> This is a good result, when the same technique has been described by two different
> sources completely independently.
Sure.
Thanks
Eric
>
> Cheers,
> Dimitre Novatchev.
--
Rendez-vous à Paris pour une visite guidee de la nebuleuse XML.
http://dyomedea.com/formation/
------------------------------------------------------------------------
Eric van der Vlist http://xmlfr.org http://dyomedea.com
http://xsltunit.org http://4xt.org http://examplotron.org
------------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list