Martin Bischoff wrote:
By debugging in Eclipse I found out that the content of the element "Name" hast been splitted up into two child elements of the type TextImpl. So, by using the getFirstChild() method I only get one part of it.
AFAIU, this is normal mode of operation for XML parsers and DOM / SAX. They can always split text into multiple TextNodes or character() events as they want it. I'm not sure there is way around this; I think you should collect all consecutive TextNodes and combine them.
Vadim