|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-10-28 23:29 UTC] jon at jellybob dot co dot uk
[2003-03-27 06:46 UTC] mj@php.net
[2003-04-02 10:56 UTC] sniper@php.net
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Nov 07 02:00:01 2025 UTC |
I have sample xml file: test.xml <?xml version="1.0" ?> <root> <data>0</data> <data>378</data> <data>15</data> <data>0</data> </root> I have used XML/Tree.php to parse XML tree to string. $tree = new XML_Tree("test.xml"); $t = &$tree->getTreeFromFile(); $t->dump(); After parsing test.xml, element width content '0' are empty! <data></data> <data>378</data> <data>15</data> <data></data> This is problem, I need value '0'. Thank you for help