cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremy Quinn <jer...@media.demon.co.uk>
Subject Re: loading external HTML as XML CDATA sections
Date Mon, 07 Aug 2000 16:51:45 GMT
At 06:49 -0400 07/08/00, bober, paul wrote:
>I'm trying to load external HTML in to my XSP pages. The HTML is embedded as
>CDATA elements of an XML document. Unfortunately the tokens in the CDATA
>region get escaped when I don't want them to be. Thus, the browser
>recognizes them as text instead of HTML.

May I suggest that you mark up your HTML as xHTML, ie. as XML compliant
HTML, then leaving out the CDATA tag, include it as XML.

The formatter will take care of converting your xHTML back into HTML
automatically.

Hope this helps

Jeremy
-- 
   ___________________________________________________________________

   Jeremy Quinn                                           Karma Divers
                                                       webSpace Design
                                            HyperMedia Research Centre

   <mailto:sharkbait@mac.com>     		 <http://www.media.demon.co.uk>
    <phone:+44.[0].20.7737.6831>        <pager:jermq@sms.genie.co.uk>

Mime
View raw message