note 60296 added to ref.simplexml
| From: | laraxpl at wp dot pl | Date: | Mon, 02 Jan 2006 20:43:12 +0000 |
| Subject: | note 60296 added to ref.simplexml | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-101118@lists.php.net to get a copy of this message | ||
Remember to remove white spaces between opening and closing tag if it contains a string. I had a lot
of trouble with it, cause I was loading a directory path from XML file, which was written like
<url> /dir/test </url>
and when I tried to use it in chdir() function I was getting error that specified directory
don't exists. I had to remove white spaces and write it like
<url>/dir/test</url>
After that all worked properly.
----
Manual Page -- http://www.php.net/manual/en/ref.simplexml.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+60296
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+60296&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+60296&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+60296&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+60296&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+60296&report=yes&reason=non-english
Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+60296&report=yes&reason=already+in+docs
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+60296&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+60296&report=yes
Search -- http://master.php.net/manage/user-notes.php