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: Generic templates (Was: RE: using call-template to call template from another xsl)


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


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