|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Escaping within an xsl:attribute element
> so I have to use an xsl:value-of to pull it
the semantics of { } are exactly the same as semantics of
<xsl:value-of select=
so
<xsl:element name="tr">
<xsl:attribute name="bgcolor">
<xsl:value-of
select="/Portal:Page/Portal:Preferences/Portal:trimColor"/>
</xsl:attribute>
...
</xsl:element>
is equivalent to
<tr bgcolor="{/Portal:Page/Portal:Preferences/Portal:trimColor}">
...
</tr>
but takes more typing.
David
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








