@SuppressWarnings("unchecked")
    public void forEach(final Consumer<XmlNode> action) {
        for (Map.Entry<String, Object> entry : childrenMap.entrySet()) {
            if (entry.getValue() instanceof List) {
                ((List<XmlNode>) entry.getValue()).forEach(action);
            } else {
                action.accept((XmlNode) entry.getValue());
            }
        }
    }
Sets the textual value of this node
main/src/main/java/cgeo/geocaching/utils/xml/XmlNode.java