List of utility methods to do XML Node Value Check
boolean | isWhitespaceNode(Node n) is Whitespace Node if (n.getNodeType() == Node.TEXT_NODE) { String val = n.getNodeValue(); return val.trim().length() == 0; } else { return false; |
boolean | isWhitespaceNode(Node t) is Whitespace Node if (t.getNodeType() == org.w3c.dom.Node.TEXT_NODE) { String val = t.getNodeValue(); return val.trim().length() == 0; } else return false; |