[XOM-interest] Getting an element value, excluding its children

cowwoc cowwoc at bbs.darktech.org
Thu Aug 7 21:56:50 EDT 2008


Hi,

    Given:

<version>1.0.2.3
  <message>this is a test</message>
</version>

    How does one get "1.0.2.3" back from XOM? I tried Element.getValue() 
but it includes the value of the children nodes (i.e. "this is a test"). 
Any ideas?

Thank you,
Gili


More information about the XOM-interest mailing list