RE: [xsl] note: Handling ' ' in source xml

Subject: RE: [xsl] note: Handling ' ' in source xml
From: "Nathan Young \(natyoung\)" <natyoung@xxxxxxxxx>
Date: Thu, 8 Sep 2005 10:46:53 -0700

If you have a text node that contains escaped HTML (I'll also space
things out so they don't get lost in transit)

$text = "& lt;b& gt;This & amp;amp; That& lt;/b& gt;"

And you want the output to be XHTML (in other words, have one layer of
escaping removed by the XSL):

<b>This & amp; That</b>

You can use disable output escaping:

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


-----Original Message-----
From: Phun Li [mailto:phun_li@xxxxxxxxx]
Sent: Thursday, September 08, 2005 7:07 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: [xsl] note: Handling '&amp;nbsp;' in source xml

sorry for my english i meant to say

>Basically the source xml i'm converting to xml,

should be converting to HTML

and in case yahoo interfered with post i spaced these
out, i just want to.

& amp ; nbsp ;  (source xml)
& #160 ;  or & nbsp ;  (output html)

thank you Li

Click here to donate to the Hurricane Katrina relief effort.

Current Thread