You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by "Decoker, Lydie (Lydie)" <de...@lucent.com> on 2006/09/20 10:20:51 UTC

Additionnal #Text node

Hi,
 
It seems I got extra #Text node in my DOM object. For example, if my XML
is as follows:
<Root>
    <FirstElement>Value</FirstElement>
</Root>
 
My DOM tree will look like:
 
+ ELEMENT: Root
    + #TEXT: 
    + ELEMENT: FirstElement
        + #TEXT: Value
        + #TEXT:
 
Is there a way to avoid those extra empty #Text Node?
 
Thx in advance.