Subject: Re: xsl:call-template question From: Tony Graham <tgraham@xxxxxxxxxxxxxxxx> Date: Wed, 16 Feb 2000 16:08:37 -0400 (EST) |
At 16 Feb 2000 11:36 -0800, Joni Fazo wrote: > Hello, > > Is it possible to call a template and pass in as a parameter the name of the > template you would like the called template to call? Section 7.6.2 of the XSLT Recommendation contains the following note: NOTE: Not all attributes are interpreted as attribute value templates. Attributes whose value is an expression or pattern, attributes of top-level elements and attributes that refer to named XSLT objects are not interpreted as attribute value templates. In addition, xmlns attributes are not interpreted as attribute value templates; it would not be conformant with the XML Namespaces Recommendation to do this. Attributes that are interpreted as attribute value templates have curly braces ({}) around the attribute value in their syntax summary in the XSLT Recommendation. The curly braces for attribute value templates also show in the XSLT and XPath Quick Reference available from http://www.mulberrytech.com/quickref/. Regards, Tony Graham ====================================================================== Tony Graham mailto:tgraham@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9632 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ====================================================================== XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
xsl:call-template question, Joni Fazo | Thread | RE: call-template question, Carl Soane |
RE: How To Include external XSL fil, Igor Nakshin | Date | RE: Which one to choose, Didier PH Martin |
Month |