How to access a Jackrabbit/JCR Nodes text content
Posted on 2009-04-08
I am currently workling on a really trivial thing. At least it should be. Unfortuneately it isn't.
In my Jackrabbit JCR repository I have saved some Xml content. I have absolutely no problems in navigating and accessing nodes and attributes.
Unfortunately it seems to be impossible for me to get the simple text content of a node.
Lets take this example xml:
Let's assume I have an instance of javax.jcr.Node (To be more precise: org.apache.jackrabbit.core.NodeImpl)
With which code could I access the text string "huhu"?
Thanks in advance,