Subject: Re: Generic templates (Was: RE: [xsl] using call-template to call template from another xsl) From: Christoph Kliemt <ckliemt.de@xxxxxxx> Date: 05 May 2001 11:01:44 +0200 |
Hi! ->"D" == Dimitre Novatchev <dnovatchev@xxxxxxxxx> 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Generic templates (Was: RE: [xsl] u, Dimitre Novatchev | Thread | [xsl] generating a DTD with XML/XSL, Marcus Klinge |
RE: [xsl] attribute nodes, Christopher R. Maden | Date | [xsl] generate-id accross different, Heath Wilkinson |
Month |