note 57735 deleted from ref.xml by bjori
| From: | bjori@php.net | Date: | Mon, 09 Oct 2006 11:12:17 +0000 |
| Subject: | note 57735 deleted from ref.xml by bjori | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-118280@lists.php.net to get a copy of this message | ||
Note Submitter: m dot quinton at gmail dot com
----
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;
}
}