Subject: RE: [xsl] call template From: Mark Feblowitz <mfeblowitz@xxxxxxxxxxxxxxxx> Date: Wed, 15 Aug 2001 13:16:32 -0400 |
Depends on the xsl processor that you're using. In saxon there's an extension that does just the thing. If saxon's what you're using, just look in the extensions documentation. Be forewarned that your solution would be non-portable. ---------------------------------------------------------------------------- ---- Mark Feblowitz [t] 617.715.7231 Frictionless Commerce Incorporated [f] 617.495.0188 XML Architect [e] mfeblowitz@xxxxxxxxxxxxxxxx 400 Technology Square, 9th Floor Cambridge, MA 02139 www.frictionless.com -----Original Message----- From: Carlos Pisquem [mailto:cpisquem@xxxxxxxxxxxxx] Sent: Wednesday, August 15, 2001 11:15 AM To: 'xsl-list@xxxxxxxxxxxxxxxxxxxxxx' Subject: [xsl] 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 XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] call template, Carlos Pisquem | Thread | [xsl] Extensions and namespace outp, Heiko Rupp |
Re: [xsl] Re: Microsoft XML, Kurt Cagle | Date | [xsl] Directory Structure, Eric Schenfeld |
Month |