note 100201 added to libxml.constants

From: Date: Thu, 30 Sep 2010 18:05:25 +0000
Subject: note 100201 added to libxml.constants
Groups: php.notes 
Request: Send a blank email to php-notes+get-172853@lists.php.net to get a copy of this message
For silver dot alecs at yahoo dot com (and everyone else): I believe that the LIBXML_NOBLANKS options is for empty CDATA nodes only. AKA, white space. The white space would be the blank spaces you use to make the XML document look "pretty" when outputted as a string. Using LIBXML_NOBLANKS would effectively make this XML: <mydocument> <with> <nice>indentation</nice> </with> </mydocument> into the following XML: <mydocument><with><nice>indentation</nice></with></mydocument> It will not remove named elements with no content or attributes without values. ---- Server IP: 64.71.164.2 Probable Submitter: 64.245.113.164 ---- Manual Page -- http://www.php.net/manual/en/libxml.constants.php Edit -- https://master.php.net/note/edit/100201 Del: integrated -- https://master.php.net/note/delete/100201/integrated Del: useless -- https://master.php.net/note/delete/100201/useless Del: bad code -- https://master.php.net/note/delete/100201/bad+code Del: spam -- https://master.php.net/note/delete/100201/spam Del: non-english -- https://master.php.net/note/delete/100201/non-english Del: in docs -- https://master.php.net/note/delete/100201/in+docs Del: other reasons-- https://master.php.net/note/delete/100201 Reject -- https://master.php.net/note/reject/100201 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#172853) next »