Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Apr 2002 14:13:32 +0300
From:      Alexey Zelkin <phantom@ark.cris.net>
To:        Alex Dupre <sysadmin@alexdupre.com>
Cc:        doc@FreeBSD.org
Subject:   Re: html in xml
Message-ID:  <20020421141332.A60648@ark.cris.net>
In-Reply-To: <3CC1B12D.9010201@alexdupre.com>; from sysadmin@alexdupre.com on Sat, Apr 20, 2002 at 08:19:25PM %2B0200
References:  <20020420205539.A29136@ark.cris.net> <3CC1B12D.9010201@alexdupre.com>

next in thread | previous in thread | raw e-mail | index | archive | help
hi,

On Sat, Apr 20, 2002 at 08:19:25PM +0200, Alex Dupre wrote:
> Alexey Zelkin wrote:
> > How can I process XML to avoid striping hml tags ? Any ideas ?
> 
> I think you should enclose html tags in cdata sections, like this:
> 
> <descr>this is a <![CDATA[<a href="http://www.host.com/">link</a>]]></descr>;

I tried this one already. But it will generate entitified version:

...
this is a &lt;a href=&quot;http://www.host.com/&quot;&gt;link&lt;/a&gt;
...

not simple html tags :-(


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020421141332.A60648>