Hi,

When use xmlXPathEval with the query "/root/WEB:Site" on the following xml

<?xml version=\"1.0\"?>
<root xmlns:WEB='http://www.winehq.org'>
     <WEB:Site version=\"1.0\" />
</root>

I get the following error
XPath error : Undefined namespace prefix
xmlXPathEval: evaluation failed

Using the same xml and query in MSXML it works.

Can someone explain what I am doing wrong?

Best Regards
 Alistair Leslie-Hughes



_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
[email protected]
http://mail.gnome.org/mailman/listinfo/xml

Reply via email to