make sure parentElement is set properly for <xi:include> elements
Modified: branches/xmlbuildsystem/reactos/tools/rbuild/XML.cpp

Modified: branches/xmlbuildsystem/reactos/tools/rbuild/XML.cpp
--- branches/xmlbuildsystem/reactos/tools/rbuild/XML.cpp	2005-01-10 10:10:49 UTC (rev 12917)
+++ branches/xmlbuildsystem/reactos/tools/rbuild/XML.cpp	2005-01-10 14:03:21 UTC (rev 12918)
@@ -709,6 +709,7 @@
 			return NULL;
 		}
 		// replace inclusion tree with the imported tree
+		e2->parentElement = e->parentElement;
 		e2->name = e->name;
 		e2->attributes = e->attributes;
 		*parent_container = e2;