Monday, February 14, 2011

XSL disable-output-escaping

Render HTML using 'disable-output-escaping':

<xsl:value-of select="expression" disable-output-escaping="yes|no" />

http://www.w3schools.com/xsl/el_value-of.asp

Attribute Value Description
select expression Required. An XPath expression that specifies which node/attribute to extract the value from. It works like navigating a file system where a forward slash (/) selects subdirectories.
disable-output-escaping yes
no
Optional. "yes" indicates that special characters (like "<") should be output as is. "no" indicates that special characters (like "<") should be output as "<". Default is "no"

No comments:

Post a Comment