This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Generic templates (Was: RE: using call-template to call template from another xsl)
- To: xsl list <xsl-list at lists dot mulberrytech dot com>
- Subject: Re: Generic templates (Was: RE: [xsl] using call-template to call template from another xsl)
- From: Christoph Kliemt <ckliemt dot de at gmx dot net>
- Date: 05 May 2001 11:01:44 +0200
- Gcc: nnfolder+archive:MeinArchiv
- References: <20010505051414.14904.qmail@web6303.mail.yahoo.com>
- Reply-To: xsl-list at lists dot mulberrytech dot com
Hi!
->"D" == Dimitre Novatchev <dnovatchev@yahoo.com> writes:
[...]
D> The idea is to pass to the generic template a separate parameter,
D> which uniquely and ***dynamically*** identifies the template that
D> will be instantiated. This parameter is of type node-set (single
D> node), that has a unique namespace-uri.
D> The caller of the generic template may define many different
D> "action templates" that match only specific unique types of
D> nodes. During the execution of a stylesheet a generic template
D> may be called many times with different "action template types"
D> to perform similar processing.
Dimitre, thanks for posting that stylesheet. Since im quite new to
xsl i do not fully understand how it works. Could you provide an
annotated version for stupid newbees like me to make the stuff a bit
more clear? :-)
\\// christoph
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list