Definition at line 106 of file XmlDoc.h. References ILOG_INFO. Referenced by Impala::Core::VideoSet::Mpeg7DocAudio::ReadData(). 00108 { 00109 DOMNodeList* children = parent->getChildNodes(); 00110 XMLCh* xTagName = XMLString::transcode(tagName); 00111 DOMNode* result = 0; 00112 bool foundSibling = false; 00113 for (XMLSize_t i=0 ; i<children->getLength() ; i++) 00114 { 00115 DOMNode* child = children->item(i); 00116 if (child == sibling) 00117 { 00118 foundSibling = true; 00119 continue; 00120 } 00121 const XMLCh *xChildName = child->getNodeName(); 00122 if (XMLString::equals(child->getNodeName(), xTagName) && foundSibling) 00123 { 00124 result = child; 00125 break; 00126 } 00127 } 00128 XMLString::release(&xTagName); 00129 if ((result == 0) && required) 00130 ILOG_INFO("No child node " + String(tagName)); 00131 return result; 00132 }
|