result.put(fillChildren((Element) node));
SimpleXMLElementValue childElement = new SimpleXMLElementValue((Element) node, _className, _options);   NamedNodeMap attrs = node.getAttributes(); int attrLength = attrs.getLength(); if (attrLength > 0) { ArrayValueImpl attributeArray = new ArrayValueImpl(); for (int j=0; j < attrLength; j++) { Node attribute = attrs.item(j); attributeArray.put(attribute.getNodeName(), attribute.getNodeValue()); } childElement.put(new StringValue("@attributes"), attributeArray, false); }   result.put(fillChildren(childElement), false);
  public Value get(Value name)  {    // If name is Long, then treat this as an array    // else treat as SimpleXMLElementValue    if (name instanceof LongValue) {            return super.get(name);    } else {      SimpleXMLElementValue result = new SimpleXMLElementValue(_element, _className, _options);            NodeList nodes = _element.getElementsByTagName(name.toString());      for (int i = 0; i < nodes.getLength(); i++) {        Node node = nodes.item(i);        if (node.getParentNode() == _element) {          result.put(fillChildren((Element) node));        }      }        return result;    }  }