note 99538 modified in tidy.repairstring by danbrown
| From: | danbrown@php.net | Date: | Mon, 23 Aug 2010 15:32:13 +0000 |
| Subject: | note 99538 modified in tidy.repairstring by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-171944@lists.php.net to get a copy of this message | ||
You can also use this function to repair xml, for example if stray ampersands etc are breaking it:
<?php
$xml = tidy_repair_string($xml, array(
'output-xml' => true,
'input-xml' => true
));
?>
--was--
You can also use this function to repair xml, for example if stray ampersands etc are breaking it:
$xml = tidy_repair_string($xml, array(
'output-xml' => true,
'input-xml' => true
));
http://php.net/manual/en/tidy.repairstring.php