Re: XHTML (was: A blank page shows)
| From: | Hannes Magnusson | Date: | Tue, 23 Dec 2008 22:29:18 +0000 |
| Subject: | Re: XHTML (was: A blank page shows) | ||
| References: | 1 2 3 4 5 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969379860@lists.php.net to get a copy of this message | ||
On Tue, Dec 23, 2008 at 23:21, G. T. Stresen-Reuter
<tedmasterweb@gmail.com> wrote:
> On Dec 23, 2008, at 4:10 PM, Hannes Magnusson wrote:
>
>> There are several cases which we simply cannot fix
>
> Do you have one documented? I do a lot of XSLT-type stuff and it seems to me
> that if we're starting with valid XML (.manual.xml) and XHTML is in many
> respects HTML XMLified that it should be possible...
<foo /> and <bar></bar> isn't the the issue.
The problem is like:
<para>
some text
<example>
<title>the example title</title>
<para>Example description</para>
<programlist><!CDATA[...]]></programlist>
</example>
</para>
Which ends up in something like
<p>
some text
<div>
<p><b>the example title</b></p>
<p>Example description</p>
<div><code></code></div>
</p>
which isn't valid xhtml (nested <p>s and I'm pretty sure <div>s can't
be in <p>s either)...
-Hannes