|
Subject: RE: [xsl] Using Javascript function in XSL causes HTML to be parsed into normal text From: "Nik Coughlin" <nrkn@xxxxxxxxxxx> Date: Tue, 11 Nov 2003 08:39:53 +1300 |
>
>At what point is the XSL parsing the contents of <content> and
>replacing all of the < and > symbols in the HTML as lt; and gt;
>symbols? How do I stop it from doing this? Why is it doing it in
>the function when it didn't do it in the onclick?
>
Reduced to answering my own questions. :p
In case anyone else runs into the same thing, what I needed to do was
this:
<xsl:value-of select='normalize-space($content)'
disable-output-escaping='yes' />
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
nrkn
http://www.livejournal.com/users/nrkn
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| [xsl] Using Javascript function in , Nik Coughlin | Thread | RE: [xsl] Using Javascript function, Passin, Tom |
| RE: [xsl] generating xml from xml, Murali Korrapati | Date | RE: [xsl] generating xml from xml, Wendell Piez |
| Month |