projects
/
shibboleth
/
xmltooling.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Reducing header overuse, non-inlining selected methods (CPPOST-35).
[shibboleth/xmltooling.git]
/
xmltooling
/
util
/
XMLHelper.cpp
diff --git
a/xmltooling/util/XMLHelper.cpp
b/xmltooling/util/XMLHelper.cpp
index
9ebde32
..
73e6681
100644
(file)
--- a/
xmltooling/util/XMLHelper.cpp
+++ b/
xmltooling/util/XMLHelper.cpp
@@
-167,6
+167,11
@@
DOMElement* XMLHelper::appendChildElement(DOMElement* parentElement, DOMElement*
return childElement;
}
return childElement;
}
+bool XMLHelper::isNodeNamed(const xercesc::DOMNode* n, const XMLCh* ns, const XMLCh* local)
+{
+ return (n && XMLString::equals(local,n->getLocalName()) && XMLString::equals(ns,n->getNamespaceURI()));
+}
+
const XMLCh* XMLHelper::getTextContent(const DOMElement* e)
{
DOMNode* child=e->getFirstChild();
const XMLCh* XMLHelper::getTextContent(const DOMElement* e)
{
DOMNode* child=e->getFirstChild();