Annotate XNode trees with legacy attribute

This commit is contained in:
Devin J. Pohly
2013-10-13 15:39:56 -04:00
parent a9d5931533
commit 58eddc2652
+3
View File
@@ -619,6 +619,9 @@ void XmlFileUtil::AnnotateXNodeTree( XNode *pNode, const RString &sFile )
/* Directory of caller, for relative paths: */
pNode->AppendAttr( "_Dir", sDir );
/* Note that this node came from a legacy XML file */
pNode->AppendAttr( "_LegacyXml", true );
}
}