[xml] problem with schema and xmlGetID



Hi,

I'm trying to navigate through a xml file (based on a schema) using xmlGetID, but since the attribute type of 
all attribute nodes is not set (=0), the fuction returs a NULL pointer.
The file is read using xmlReadMemory and then validated using xmlSchemaValidateDoc. It references the 
namespace xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; and the according schema file, which declares 
ids with xsd:id.
What could i have forgotten or done wrong?

Thanks in advance!

Manu
-- 
"Feel free" - 10 GB Mailbox, 100 FreeSMS/Monat ...
Jetzt GMX TopMail testen: www.gmx.net/de/go/mailfooter/topmail-out



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]