Definition at line 102 of file XmlFileReader.h. 00103 { 00104 XERCES_CPP_NAMESPACE_QUALIFIER DOMNodeList *children = node->getChildNodes(); 00105 XMLCh *xercesTagName = XERCES_CPP_NAMESPACE_QUALIFIER XMLString::transcode(tagName); 00106 std::vector<XERCES_CPP_NAMESPACE_QUALIFIER DOMNode*> result; 00107 for (XMLSize_t i = 0; i < children->getLength(); i++) 00108 { 00109 XERCES_CPP_NAMESPACE_QUALIFIER DOMNode* child = children->item(i); 00110 const XMLCh *xChildName = child->getNodeName(); 00111 if (XERCES_CPP_NAMESPACE_QUALIFIER XMLString::equals(child->getNodeName(), xercesTagName)) 00112 result.push_back(child); 00113 } 00114 XERCES_CPP_NAMESPACE_QUALIFIER XMLString::release(&xercesTagName); 00115 return result; 00116 }
|