bool Engine::FileSystem::Config::CXMLPrinter::VisitEnter( const CXMLElement& element, const CXMLAttribute* attribute ) { OpenElement( element.Name() ); while ( attribute ) { PushAttribute( attribute->Name(), attribute->Value() ); attribute = attribute->Next(); } return true; }
const CXMLElement* Engine::FileSystem::Config::CXMLNode::LastChildElement( const char* value ) const { for( CXMLNode* node=lastChild; node; node=node->prev ) { CXMLElement* element = node->ToElement(); if ( element ) { if ( !value || CXMLUtil::StringEqual( element->Name(), value ) ) { return element; } } } return 0; }