Definition at line 83 of file XmlDoc.h.
References ILOG_INFO.
Referenced by Impala::Core::VideoSet::Mpeg7DocAudio::AddSegment(), Impala::Core::VideoSet::Mpeg7Doc::AddShot(), Impala::Core::VideoSet::Mpeg7DocAudio::GetFractions(), Impala::Core::VideoSet::Mpeg7Doc::GetFractions(), Impala::Core::VideoSet::Mpeg7DocAudio::GetMediaDuration(), Impala::Core::VideoSet::Mpeg7Doc::GetMediaDuration(), Impala::Core::VideoSet::Mpeg7DocAudio::GetMediaTimePoint(), Impala::Core::VideoSet::Mpeg7Doc::GetMediaTimePoint(), Impala::Core::VideoSet::Mpeg7Doc::GetTemporalDecomposition(), Impala::Application::MediaTable::TableDataSourceFlickrPhotoList::loadXML(), Impala::Core::VideoSet::Mpeg7DocAudio::ReadData(), Impala::Core::VideoSet::Mpeg7Doc::ReadData(), Impala::Core::IDash::XmlVideoList::ReadData(), Impala::Core::IDash::XmlVideo::ReadData(), Impala::Core::IDash::XmlShot::ReadData(), Impala::Core::IDash::XmlQuerySet::ReadData(), Impala::Core::IDash::XmlJobReference::ReadData(), Impala::Core::IDash::XmlJob::ReadData(), Impala::Core::IDash::XmlCase::ReadData(), Impala::Core::IDash::XmlAnnotationSet::ReadData(), Impala::Application::TagsLife::Tag::readGeo(), Impala::Application::TagsLife::Tag::readRelated(), Impala::Application::TagsLife::Tag::readTag(), and Impala::Core::Trec::TrecTopic::ReadTopics().
00085 {
00086 DOMNodeList* children = node->getChildNodes();
00087 XMLCh* xTagName = XMLString::transcode(tagName);
00088 DOMNode* result = 0;
00089 for (XMLSize_t i=0 ; i<children->getLength() ; i++)
00090 {
00091 DOMNode* child = children->item(i);
00092 const XMLCh *xChildName = child->getNodeName();
00093 if (XMLString::equals(child->getNodeName(), xTagName))
00094 {
00095 result = child;
00096 break;
00097 }
00098 }
00099 XMLString::release(&xTagName);
00100 if ((result == 0) && required)
00101 ILOG_INFO("No child node " + String(tagName));
00102 return result;
00103 }