Re: PHP-GTK2 docs
| From: | Scott Mattocks | Date: | Thu, 10 Feb 2005 19:19:21 +0000 |
| Subject: | Re: PHP-GTK2 docs | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 | Groups: | php.gtk.doc |
| Request: | Send a blank email to php-gtk-doc+get-1283@lists.php.net to get a copy of this message | ||
I have run into a slight problem. xml_parse() doesn't differentiate between these two XML chucks:
<tag>
Some text
</tag>
and
<tag>
<![CDATA[
Some text
]]>
</tag>
PHP basically drops the <![CDATA[ part. This means it is impossible to regenerate the docs exactly as they are. We will loose all of these cdata tags in all of the program listings and anywhere else they show up. I was thinking to just add <![CDATA[ after any programlisting tags but I don't know if that is really a safe choice.
Any suggestions?
Thanks,
Scott