Hi,

 

I have the following xml file:

 

<?xml version="1.0" encoding="UTF-8"?>

<dgf:test xmlns:dgf="http://tt";>

            <dgf:test1>10</dgf:test1>

</dgf:test>

 

I'm trying to select the test1 node.

 

When I run SimpleXPathCAPI and pass in the aforementioned xml file and
this xpath: /test/test1

I do not get any results.

 

When I run SimpleXPathCAPI and pass in the aforementioned xml file and
this xpath: /dgf:test/dgf:test1

I get an error code 12

 

Is there something wrong with how I've defined my xml file?  Does the
SimpleXPathCAPI sample handle specifying the namespace of a node in the
xpath expression?  If not, how would I go about being able to select the
node I'm trying to select?

 

Thanks 

Reply via email to