xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
- From: Dick H <dick AT machj.com>
- To: xom-interest AT lists.ibiblio.org
- Subject: [XOM-interest] Element.getValue()
- Date: Thu, 22 May 2003 14:35:39 -0500
Here is an example Element:
<rung>
<cmt flags="0">This is a rung comment. It is optionally included as
part of a rung</cmt>
<!-- rung proper, the Text part: -->
XIC I:0/0 OTE O:12
</rung>
When getValue() is called on Element <rung>, it returns the text of the nested <cmt> preceding the text of the <rung>. XOM needs a method to return only <rung>'s text:
"XIC I:0/0 OTE O:12"
Please don't suggest that I change the grammar of my XML to stoop to XOM's capabilities. That would be _dangerous_ :) to me.
Is there a capability in XOM that I don't see?
-
[XOM-interest] Element.getValue(),
Dick H, 05/22/2003
- Re: [XOM-interest] Element.getValue(), Elliotte Rusty Harold, 05/22/2003
- <Possible follow-up(s)>
-
[XOM-interest] Element.getValue(),
Dick H, 05/22/2003
- Re: [XOM-interest] Element.getValue(), Nils_Kilden-Pedersen, 05/22/2003
Archive powered by MHonArc 2.6.24.