element = page.getElementsByTagName(locator).get(0);
} else {
throw new IllegalArgumentException("Only id and name are supported");
}
String pageCode = element.asXml();
checkXmlStructure(xmlunitPage, pageCode);
}
protected void checkXmlStructure(String xmlunitPage, String pageCode) throws SAXException, IOException {