Andreas Hartmann wrote:
Roberto Nunnari wrote:

Hello.

maybe OT, feel free to ignore it.


Indeed, that would be better suited to an XSLT list.


can anybody tell me why in a template
<img src="{$root}/images/blah.gif"/>
{$root} expands correctly

while in
<p>{$root}</p>
{$root} does not expand?


Because attribute value templates work only in attribute values,
that's why they're called like this :)

Correct syntax:

<p><xsl:value-of select="$root"/></p>

Yes! That's it!
Thank you.




-- Andreas


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



--
               Roberto Nunnari -software engineer-
                    mailto:[EMAIL PROTECTED]
                    http://www.nunnisoft.ch
  Residenza Boschetto 12           tel/fax: +41-91-6046511
  6935 Bosco Luganese        """    mobile: +41-76-3208561
  Switzerland               (o o)
========================oOO==(_)==OOo========================


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to