Re: Regexp for xhtml compliant matching
| From: | Paul M Jones | Date: | Wed, 03 Dec 2003 16:42:43 +0000 |
| Subject: | Re: Regexp for xhtml compliant matching | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-24091@lists.php.net to get a copy of this message | ||
Replying to myself here.
On Dec 3, 2003, at 10:39 AM, Paul M Jones wrote:
Perhaps I am displaying my ignorance, but...Unless this source is inaccurate, it appears that <html> is not a valid child of the <body> tag.add an embeded html document, and it's not so easy: <html>Is it legal HTML (or XHTML) to have an HTML tag within another HTML tag? Not to start an XML discussion...<head> <title /> </head> <body> <p>some content</p> <!-- embedded documents are possible, --> <!-- though still rather uncommon --> <html> <head><title /></head> <body><p>some content</p></body> </html> </body></html>
http://www.zvon.org/xxl/xhtmlReference/Output/-- Paul M. Jones Savant: the simple alternative to Smarty. http://phpsavant.com/