public String readValue(InputNode from) throws Exception {
  if (!stack.isRelevant(from)) {
    return null;
  }
  int length=text.length();
  if (length <= 0) {
    EventNode event=reader.peek();
    if (event.isEnd()) {
      if (stack.top() == from) {
        return null;
      }
 else {
        stack.pop();
      }
      event=reader.next();
    }
  }
  return readText(from);
}

public String readValue ( InputNode from ) throws Exception { if ( ! stack . isRelevant ( from ) ) { return null ; } int length = text . length ( ) ; if ( length <= 0 ) { EventNode event = reader . peek ( ) ; if ( event . isEnd ( ) ) { if ( stack . top ( ) == from ) { return null ; } else { stack . pop ( ) ; } event = reader . next ( ) ; } } return readText ( from ) ; }
read the contents of the characters between the specified xml element tags , if the read is currently at that element . this allows characters associated with the element to be used . if the specified node is not the current node , null is returned .
