[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: unparsed CDATA maintain HTML

Subject: RE: unparsed CDATA maintain HTML
From: "George @dante" <dantetools@xxxxxxxxxxx>
Date: Sun, 14 Dec 2003 18:52:43 +0000
render cdata as html

Question is whether you really need that. Since your handling XML anyway,
there's no reason you couldn't just have this in your source file:

<text>I <i>have</i> to add some <b>HTML</b> here is </text>

and a simple <xsl:copy-of select="." /> in the template for handling
'text'-elements, will result in the above being copied into the result
document.

I tried that before and I tried now as well and I am getting the HTML elements with xmlns="" so
they don't render properly any ideas ? (note that I also have other HTML elements with attributes)


but I can't seem to be able to copy everything properly.

Does this mean that I need to define templates for every HTML element and copy elements and attributes there ?

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



Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.