Anyone know what is the return value of a text node from TaminoResult.getElement() or DOM result if it is empty?
I am able to detect some “\n” but some TEXT Nodes that has a null values are unable to be detected.
I tried to cdo this
if ( textNode.getNodeValue().equals(“\t”)||
textNode.getNodeValue().equals(" “)||
”\n" - some can be detected
others no.
any reason?? cos i need to traverse the tree and ignore TEXT nodes that are empty.
regards
cheers !