add simplified version of XMLLoadFile() - preparation to move up a directory
Modified: trunk/reactos/tools/rbuild/xml.cpp
Modified: trunk/reactos/tools/rbuild/xml.h

Modified: trunk/reactos/tools/rbuild/xml.cpp
--- trunk/reactos/tools/rbuild/xml.cpp	2005-11-27 22:59:20 UTC (rev 19705)
+++ trunk/reactos/tools/rbuild/xml.cpp	2005-11-27 23:01:38 UTC (rev 19706)
@@ -849,9 +849,10 @@
 }
 
 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 @@
 	}
 	return head;
 }
+
+XMLElement*
+XMLLoadFile ( const string& filename )
+{
+	Path path;
+	XMLIncludes includes;
+	return XMLLoadFile ( filename, path, includes );
+}

Modified: trunk/reactos/tools/rbuild/xml.h
--- trunk/reactos/tools/rbuild/xml.h	2005-11-27 22:59:20 UTC (rev 19705)
+++ trunk/reactos/tools/rbuild/xml.h	2005-11-27 23:01:38 UTC (rev 19706)
@@ -233,4 +233,7 @@
 	const Path& path,
 	XMLIncludes& includes );
 
+XMLElement*
+XMLLoadFile ( const std::string& filename );
+
 #endif // XML_H