Re: [PHP-XML-DEV] xhtml with DomDocument->saveHTML

[email protected] (Christian Stocker) Fri, 06 Aug 2004 09:20:13 +0200
Newsgroups php.xml.dev
Message-ID <[email protected]>

On 5.8.2004 17:17 Uhr, Enrico Hartung wrote:

> Hello,
> 
> Now that xhtml is about to become the standard for webpages wouldn't it 
> be the time that saveHTML returns xhtml? E.g. <br /> instead of <br>.

No.

Use $dom->saveXML() and get <br />

chregu

-- 
christian stocker | Bitflux GmbH | schoeneggstrasse 5 | ch-8004 zurich
phone +41 1 240 56 70 | mobile +41 76 561 88 60  | fax +41 1 240 56 71
http://www.bitflux.ch  |  [email protected]  |  gnupg-keyid 0x5CE1DECB