Hi Rainer,
I’m sorry there is no public documentation on our low-level API. Did you have a look at the JavaDoc of our source code?
This is e.g. how you may request the value of an attribute:
ANode node = ... byte[] value = node.attribute(new QNm("name")); System.out.println(Token.string(value));
This is how you can iterate through all attributes:
for(final ANode att : node.attributes()) { ... }
Hope this helps, Christian ___________________________
On Mon, Oct 29, 2012 at 5:14 PM, Rainer Klute rainer.klute@itemis.de wrote:
On 25.10.2012 16:09, Rainer Klute wrote:
I just did a quick test using your suggestion, and what can I say? It seems to work very well! I guess the internal node representation is indeed what I need. Next month I'll get back to it and probably bother you with questions about that internal stuff. :-)
Christian,
do you have some info, documentation or sample code on how to access a DBNode if it represents an XML element, an attribute or some other type of XML node? Presently I am trying to figure out how to retrieve an attribute's value. Thanks!
--
Best regards Rainer Klute