public boolean jsxFunction_loadXML(final String strXML) {
try {
final List<NameValuePair> emptyList = Collections.emptyList();
final WebResponseData data = new WebResponseData(strXML.getBytes(), HttpStatus.SC_OK, null, emptyList);
final WebResponse webResponse = new WebResponseImpl(data, (URL) null, (HttpMethod) null, 0);
final XmlPage page = new XmlPage(webResponse, getWindow().getWebWindow());
setDomNode(page);
return true;
}
catch (final IOException e) {
LOG.debug("Error parsing XML\n" + strXML, e);