Subject: Re: [xsl] Problem with < and > in front and after CDATA section From: Syd Bauman <Syd_Bauman@xxxxxxxxx> Date: Sat, 6 Dec 2008 11:37:09 -0500 |
> HTML I want > <p> > <strong>Title text</strong> > <br /> > <em>( Date: pubDate )</em> > <br /> > description text .. <a href="URL">.. details</a> > </p> > Resulting HTML source code: > <p><strong>Title text</strong> > <br /> > <em>( Date: pubDate )</em> > <br /> > <![CDATA[description text]]>.. <a href="URL" title=".. details">.. details</a></p> > > Resulting text on screen: > Title text > ( Date: pubDate ) > .. .. details Looks to me like you're getting exactly what you want, at least if your output is XHTML (and is read as XHTML by the browser). If your browser thinks it is reading HTML, it might ignore the CDATA marked section.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Problem with < and > in, jo lemen | Thread | Re: [xsl] Problem with < and >, Martin Honnen |
[xsl] Problem with < and > in, jo lemen | Date | Re: [xsl] Problem with < and >, Martin Honnen |
Month |