help me (LIBXML2, namespace )



Title: Samsung Enterprise Portal mySingle

How can I get the value of "bar" using query in this example ?

It doesn't work "/namespace::ds:bar".

Query supports namespace, right?

I tryed possible query related with namespace,

but "XPath error : Undefined namespace prefix" message only printed.

Please give me correct answer.

 

 

<?xml version="1.0" ?>

<foo

    xmlns:aa="http://a"

    xmlns:bb="http://b"

>

 

  <aa:bar>

    43

  </aa:bar>

</foo>

 

 

 

 

 

 



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