/** * Contains the XML representation of the node and all its descendants. * * @return an XML representation of this node and all its descendants */ @Override public String jsxGet_xml() { final XMLSerializer seralizer = new XMLSerializer(); seralizer.setParentScope(getWindow()); seralizer.setPrototype(getPrototype(seralizer.getClass())); return seralizer.jsxFunction_serializeToString(jsxGet_documentElement()); }
/** * Contains the XML representation of the node and all its descendants. * * @return an XML representation of this node and all its descendants */ @Override @JsxGetter({@WebBrowser(IE), @WebBrowser(CHROME)}) public String getXml() { final XMLSerializer seralizer = new XMLSerializer(); seralizer.setParentScope(getWindow()); seralizer.setPrototype(getPrototype(seralizer.getClass())); return seralizer.serializeToString(getDocumentElement()); }