I've never parsed XML with PHP, but it might help if you can show the
document that's breaking the parser, and also let us know if other
documents are working fine...
-Lorenzo
Hi,
The document is like this:
?xml version=1.0 encoding=iso-8859-1?
articulo
volantaSome text/volanta
Hello,
I'm trying to parse an XML file stored on MySQL. I'm using this code:
?php
global $CFG, $ME;
$qid = db_query(
SELECT texto
FROM articulos
WHERE id = $id
);
$r = db_fetch_object($qid);
$file = $r-texto;
$map_array = array(
ARTICULO = ,
VOLANTA = h2,
TITULO = h1,
To: [EMAIL PROTECTED]
Cc:
Subject: [PHP-DB] XML coming out from MySQL
Hello,
I'm trying to parse an XML file stored on MySQL. I'm using this
code:
?php
global $CFG, $ME