note 57735 added to ref.xml
| From: | m dot quinton at gmail dot com | Date: | Wed, 12 Oct 2005 19:26:25 +0000 |
| Subject: | note 57735 added to ref.xml | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-96909@lists.php.net to get a copy of this message | ||
from monte at NOT-SP-AM dot ohrt dot com :
I need to modify his class for some KLM data extracted from Google Earth XML file. Some times data
contains multi-line. So we need to
add this "trim" statement to make it work correctly :
function dataHandler($parser, $data){
$data = trim($data);
if(!empty($data)) {
$_output_idx = count($this->output) - 1;
$this->output[$_output_idx]['content'] = $data;
}
}
----
Manual Page -- http://www.php.net/manual/en/ref.xml.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+57735
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+57735&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+57735&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+57735&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+57735&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+57735&report=yes&reason=non-english
Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+57735&report=yes&reason=already+in+docs
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+57735&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+57735&report=yes
Search -- http://master.php.net/manage/user-notes.php