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

Can anyone help me, plz?--with xpath query



Title:

Hi.. I am completely new to ozone, but I found it very useful.

When I wanted to use the ozone-db for xml repository and string query within the xml documents, I found that I couldn't get the values of attributes.

For the values of elements, I could see it among the text printed.

C:\ozone-1.0\samples\XML>ojvm Client xpath -p CPA.xml -q"//Retries"

print: true
query string: //Retries
XPath query: filename=CPA.xml, qstring=//Retries
XPath query: query time: 1522 ms
XPATH query: result: (NodeList): 2 Entries
1 Entry: [extract time: 1172 ms]
        Node name [tp:Retries] value [null]
           Node name [#text] value [5]
2 Entry: [extract time: 190 ms]
        Node name [tp:Retries] value [null]
           Node name [#text] value [5]

However, I couldn't get the values of attributes. It always returns me with the "null".

Can anyone help me with this? Is it something to do with the command line or the java source?

 



인티즌 유명만화를 제일먼저 볼 수 있다.
인티즌 만화방 !!