|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] unparsed CDATA maintain HTML
Hi there,
lets say for a reason (maybe a wrong one) we have an XML file that contains a text element <text><![CDATA[I <i>have/<i> to add some <b>HTML</b> here is ]]></text> and at the result XHTML I want to maintain these. I thought that CDATA should be enough and applying templates would maintain these but I get < > and that resulting to the <i>s and <b>s being shown as at the end Is there an easy way around that ? (I could copy each element I guess individually but some of the them (eg. table) have many attributes and it would be complicated to redifene them all right ?) Notice that sometimes: <text>other things<elements>fdsds</elements></text> but if there was a reason I could introduce a separate element say <unparsedText> I am I doing it all wrong ? Thanks, George _________________________________________________________________ Express yourself with cool emoticons - download MSN Messenger today! http://www.msn.co.uk/messenger XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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








