How to give xpath expression in java using axiom
- by user1811206
<resource name="cde.xml" status="updated" isCollection="false">
<mediaType>xml</mediaType>
<creator>admin</creator>
<createdTime>1352783477964</createdTime>
<lastUpdater>admin</lastUpdater>
<lastModified>1352783477964</lastModified>
<description />
<version>0</version>
<content>ZGFza2QgbGQgbGt2Zmx3ZGFzamQgYWRsa2ogYWxramRrbGEgamQK
</content>
</resource>
i want to catch nodes which are having status using xpath here is the xpath expression other part of the code is correct. I have problem with xpath expression
AXIOMXPath xpathExpression = new AXIOMXPath ( "//resourse[@name]");