BERGER ROLAND wrote:
>--- 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.
>
>
ctx.getValue("Location/@x");
where ctx is a JXPathContext;
>How can I do that?
>
>Thank you
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org
|