Subject: Re: [xsl] call-template with-param problem. From: Steven Noels <stevenn@xxxxxxxxxxxxxxxx> Date: Sat, 25 Aug 2001 15:22:12 -0500 (CDT) |
On Sat, 25 Aug 2001, Phillip Rhodes wrote: > I have a named template, that I invoke with a parameter. However, my > result always contains the literal "{$title}". > > <xsl:template name="header"> > <h2>{$title}</h2> > </xsl:template> The {} or attribute value template (AVT) is only 'evaluated' evaluated in the context of an attribute value, e.g. <a href="{$foobar}">. Here, you should say: <h2><xsl:value-of select="$title"/></h2> Regards, </Steven> outerthought.org XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] call-template with-param , Steve Muench | Thread | RE: [xsl] call-template with-param , Sullivan, Dan |
Re: [xsl] call-template with-param , Steve Muench | Date | Re: [xsl] Tutorial, Rafael 'Dido' Sevill |
Month |