#24632 [Opn->Bgs]: Wishlist: XML_sql2xml support for CDATA

From: Date: Sun, 13 Jul 2003 12:29:08 +0000
Subject: #24632 [Opn->Bgs]: Wishlist: XML_sql2xml support for CDATA
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-18217@lists.php.net to get a copy of this message
ID: 24632 User updated by: kdye at ucsd dot edu Reported By: kdye at ucsd dot edu -Status: Open +Status: Bogus Bug Type: PEAR related Operating System: Linux 2.4.19-4, Debian PHP Version: Irrelevant New Comment: Apologies... this is easily cleared up with: <xsl:value-of select="whatever" disable-output-escaping="yes" /> Previous Comments: ------------------------------------------------------------------------ [2003-07-12 21:48:42] kdye at ucsd dot edu Description: ------------ XML_sql2xml needs support for CDATA in XML elements, so that HTML can be stored in the DB and then passed to XSL stylesheets. This is stored in a DB: <a href="http://some.url.com">blah</a> This is returned in the XML as: &lt;a href=&quot;http:/soem.url.com&quot;&gt;blah&lt;/a&gt; (with the html entities escaped...) which is correct BUT there is no way to enable the following to be returned: <![CDATA[[<a href="http://some.url.com">blah</a>]]> which is necessary to display snippets of HTML from a DB through XSL... ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=24632&edit=1

« previous php.pear.dev (#18217) next »