add simplified version of XMLLoadFile() - preparation to move up a directory

svn path=/trunk/; revision=19706
This commit is contained in:
Royce Mitchell III 2005-11-27 23:01:38 +00:00
parent 6f9b454171
commit ee6b7f5296
2 changed files with 15 additions and 3 deletions

View file

@ -849,9 +849,10 @@ XMLLoadInclude (
}
XMLElement*
XMLLoadFile ( const string& filename,
const Path& path,
XMLIncludes& includes )
XMLLoadFile (
const string& filename,
const Path& path,
XMLIncludes& includes )
{
XMLFile* f = new XMLFile();
@ -909,3 +910,11 @@ XMLLoadFile ( const string& filename,
}
return head;
}
XMLElement*
XMLLoadFile ( const string& filename )
{
Path path;
XMLIncludes includes;
return XMLLoadFile ( filename, path, includes );
}

View file

@ -233,4 +233,7 @@ XMLLoadFile (
const Path& path,
XMLIncludes& includes );
XMLElement*
XMLLoadFile ( const std::string& filename );
#endif // XML_H