static public String getTextValue ( Node node ) { if ( node . getChildNodes ( ) . getLength ( ) == 0 ) { return null ; } return node . getFirstChild ( ) . getNodeValue ( ) ; }
Returns the text from the given node .