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]

call template


I want to use the call-template function but the template name is a
variable....how is this done.....
The value of the template I want to call is in the xml node of nameofpage.
How can I call the template using the value that is in the node nameofpage.
Right now it's calling the template called "nameofpage" but I want the value
of it from the xml.


<xsl:call-template name="nameofpage"/>



Can this be done?

 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]