|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: note: Handling ' ' in source xml
Hi. 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"/> ------------>Nathan -----Original Message----- From: Phun Li [mailto:phun_li@xxxxxxxxx] Sent: Thursday, September 08, 2005 7:07 AM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: note: Handling '&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. replace & amp ; nbsp ; (source xml) with & #160 ; or & nbsp ; (output html) thank you Li ______________________________________________________ Click here to donate to the Hurricane Katrina relief effort. http://store.yahoo.com/redcross-donate3/
|
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








