Hi
I was trying to reproduce the example code for XPath Example for libXML. h**p://xmlsoft.org/tutorial/apd.html.

I was able to do so for the XML given here : h**p://xmlsoft.org/tutorial/apb.html which is like

<?xml version="1.0"?>
<story>
<storyinfo>
<author>John Fleck</author>
<datewritten>June 2, 2002</datewritten>
<keyword>example keyword</keyword>
</storyinfo>
<body>
<headline>This is the headline</headline>
<para>This is the body text.</para>
</body>
</story>



The problem i am facing is that this fails to work when we have a uri in the first element. for eg:
<?xml version="1.0"?>
<story xmlns="testets/tes">
<storyinfo>
<author>John Fleck</author>
<datewritten>June 2, 2002</datewritten>
<keyword>example keyword</keyword>
</storyinfo>
<body>
<headline>This is the headline</headline>
<para>This is the body text.</para>
</body>
</story>

I need a quick workaround. Please help...
Thanks in advance.