make sure parentElement is set properly for <xi:include> elements
authorRoyce Mitchell III <royce3@ev1.net>
Mon, 10 Jan 2005 14:03:21 +0000 (14:03 +0000)
committerRoyce Mitchell III <royce3@ev1.net>
Mon, 10 Jan 2005 14:03:21 +0000 (14:03 +0000)
svn path=/branches/xmlbuildsystem/; revision=12918

reactos/tools/rbuild/XML.cpp

index b936df7..a689fbf 100644 (file)
@@ -709,6 +709,7 @@ XMLLoadFile ( const string& filename, const Path& path )
                        return NULL;\r
                }\r
                // replace inclusion tree with the imported tree\r
+               e2->parentElement = e->parentElement;\r
                e2->name = e->name;\r
                e2->attributes = e->attributes;\r
                *parent_container = e2;\r