commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From BERGER ROLAND <R.BER...@sbb.ch>
Subject JXPath How To Retrieve an Attribute Value
Date Thu, 01 Jan 1970 00:00:00 GMT
--- Erhalten von  SYSUEXT.UE05588 +41 51 220 49 56           27.05.04 14.47

Hi all

How can I retreive an Attribut value of an Element with JXPath??
All I found in the Doc's is how to select Elements with the help of some
attribut constraints but not the attribute value its self.

Consider the following XML fragment:

....
<Location x="1234567">
....
</Location>


I want to get the value 1234567 and not any childern nested inside.

How can I do that?

Thank you

---- 27.05.04 14.47 ---- Gesendet an   ------------------------------------
  -> commons-user@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message