* @return the child Element that was added (may be an imported copy)\r
*/\r
static DOMElement* appendChildElement(DOMElement* parentElement, DOMElement* childElement);\r
+ \r
+ /**\r
+ * Checks the qualified name of an element.\r
+ * \r
+ * @param e element to check\r
+ * @param ns namespace to compare with\r
+ * @param local local name to compare with\r
+ * @return true iff the element's qualified name matches the other parameters\r
+ */\r
+ static bool isElementNamed(const DOMElement* e, const XMLCh* ns, const XMLCh* local) {\r
+ return (e && !XMLString::compareString(ns,e->getNamespaceURI()) && !XMLString::compareString(local,e->getLocalName()));\r
+ }\r
};\r
\r
};\r