note 88165 deleted from class.domnode by danbrown
| From: | danbrown@php.net | Date: | Tue, 13 Jan 2009 16:21:23 +0000 |
| Subject: | note 88165 deleted from class.domnode by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-149145@lists.php.net to get a copy of this message | ||
Note Submitter: Remo Fritzsche
----
I guess that there is no possibility to check if a node has been empty (short end tag) or not.
I tried to generate XML saveXML() and then check if it takes short end tags or not, but it allways
takes short end tags if there is no content and the LIBXML_NOEMPTYTAG constant is not specified.
Maybe someone knows another possibility to determine whether a tag has been short ended or not?