RE: [xsl] How to output the less-than sign (and not <)

Subject: RE: [xsl] How to output the less-than sign (and not <)
From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx>
Date: Mon, 01 Mar 2004 14:15:07 -0500
At 2004-03-01 13:43 -0500, Amuchastegui, Maria wrote:
I should have mentioned that the HTML snippet is itself XML data which has
been input by the user. The user has the option of including HTML tags in
his message. - Maria

<BillerComment>Upon pressing submit you are agreeing to the Terms and
Conditions on &lt;a href="http://www.bell.ca"; target=newwindow&gt;
bell.ca&lt;/a&gt; the terms and conditions on Bell's site</BillerMessage>

<xsl:value-of select="BillerComment" disable-output-escaping="yes"/>


BTW, I gather this was the use-case for d-o-e= so you should try not to use this attribute for other purposes such as constructing markup on the fly.

I hope this helps.

..................... Ken


-- US XSL training: Washington,DC March 15; San Francisco,CA March 22 World-wide on-site corporate, government & user group XML training G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995) Male Breast Cancer Awareness http://www.CraneSoftwrights.com/s/bc


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread