summaryrefslogtreecommitdiff
path: root/Tools/Python/XmlRoutines.py
diff options
context:
space:
mode:
authorbbahnsen <bbahnsen@6f19259b-4bc3-4df7-8a09-765794883524>2006-12-22 00:25:11 +0000
committerbbahnsen <bbahnsen@6f19259b-4bc3-4df7-8a09-765794883524>2006-12-22 00:25:11 +0000
commitaf2efcafd4974000a9dfe0f09aa78dcda70aba78 (patch)
treee63bfb61a65476ef90a31119d297b585ca2464d9 /Tools/Python/XmlRoutines.py
parentd56b1906f1f157735559397578474f8cc7d8fcdb (diff)
downloadedk2-platforms-af2efcafd4974000a9dfe0f09aa78dcda70aba78.tar.xz
Added some new field to the far template.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2126 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'Tools/Python/XmlRoutines.py')
-rwxr-xr-xTools/Python/XmlRoutines.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/Python/XmlRoutines.py b/Tools/Python/XmlRoutines.py
index 6968f14aef..9d1ff4a0e3 100755
--- a/Tools/Python/XmlRoutines.py
+++ b/Tools/Python/XmlRoutines.py
@@ -44,7 +44,7 @@ def XmlAttribute (Dom, String):
def XmlTopTag(Dom):
"""Return the name of the Root or top tag in the XML tree."""
- return Dom.firstChild.nodeName
+ return Dom.documentElement.nodeName
# This acts like the main() function for the script, unless it is 'import'ed into another