note 26242 added to function.domdocument-dump-mem
| From: | amaslov at pegasus dot rutgers dot edu | Date: | Wed, 23 Oct 2002 19:29:36 +0000 |
| Subject: | note 26242 added to function.domdocument-dump-mem | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-38465@lists.php.net to get a copy of this message | ||
<pre>
for xml file that goes like this:
<item>
<name>foo</name>
<desc>bar</desc>
</item>
Format ID's influence output in this manner:
case 0 :{
<item><name>foo</name><desc>bar</desc></item>
}
case 1 :{
<item>
<name>foo</name>
<desc>bar</desc>
</item>
}
case 2:{
<item>
<name>
foo
</name>
<desc>
bar
</desc>
</item>
If you use PHP SAX(Expat) XML engine, you should always stick to format "0". It reads any
empty spaces as XML data.
</pre>
--
http://www.php.net/manual/en/function.domdocument-dump-mem.php
http://master.php.net/manage/user-notes.php?action=edit+26242
http://master.php.net/manage/user-notes.php?action=delete+26242
http://master.php.net/manage/user-notes.php?action=reject+26242