HRESULT XmlFileParser::LoadXMLFile( const CHAR* strFilename,void* pNode,UINT nType)
	{
		XMLParser parser;
		XmlFileParser XATGParser;

		g_strParseError[0] = '\0';
		
		localFind = true;
		m_nType = nType;
		if(m_nType == 1)
		{
			pArcadeInfo = (ArcadeInfo*)pNode;
		}

		parser.RegisterSAXCallbackInterface( &XATGParser );


		HRESULT hr = parser.ParseXMLFile( strFilename );

		if( SUCCEEDED( hr ) )
		{

		}
		return hr;
	}
bool ExportMaterialDatabase::Initialize( const CHAR* strFileName )
{
    MaterialDatabaseReader mdr;
    XMLParser xp;
    xp.RegisterSAXCallbackInterface( &mdr );
    HRESULT hr = xp.ParseXMLFile( strFileName );
    if( hr == S_OK )
    {
        strcpy_s( g_strMaterialDBFileName, strFileName );
    }
    return ( hr == S_OK );
}