static DOMElement* appendChildElement(DOMElement* parentElement, DOMElement* childElement);\r
\r
/**\r
- * Checks the qualified name of an element.\r
+ * Checks the qualified name of a node.\r
* \r
- * @param e element to check\r
+ * @param n node 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
+ * @return true iff the node'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::equals(ns,e->getNamespaceURI()) && XMLString::equals(local,e->getLocalName()));\r
+ static bool isNodeNamed(const DOMNode* n, const XMLCh* ns, const XMLCh* local) {\r
+ return (n && XMLString::equals(local,n->getLocalName()) && XMLString::equals(ns,n->getNamespaceURI()));\r
}\r
\r
/**\r