[thelist] [XSLT/PHP] problems outputting HTML embedded within an XML doc

Anthony Baratta Anthony at Baratta.com
Mon Jul 14 13:57:26 CDT 2003


At 11:20 AM 7/14/2003, Jacques Capesius wrote:
>Hi folks,
>
>I'm trying to embed HTML tags within an XML document, and then transform the
>document to html using XSL. The problem I'm having is that during the
>transformation, the html tags in the XML document are getting stripped out,
>and I don't want this to happen.

Try the CDATA tag:

http://www.w3.org/TR/REC-xml#sec-cdata-sect

-- 
Anthony Baratta
President
Keyboard Jockeys

"Conformity is the refuge of the unimaginative."



More information about the thelist mailing list