Add a far maker

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2103 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
bbahnsen
2006-12-16 06:39:33 +00:00
parent ddb3d91caf
commit e853a9d483
3 changed files with 111 additions and 0 deletions

View File

@ -42,6 +42,11 @@ def XmlAttribute (Dom, String):
except:
return ''
def XmlTopTag(Dom):
"""Return the name of the Root or top tag in the XML tree."""
return Dom.firstChild.nodeName
# This acts like the main() function for the script, unless it is 'import'ed into another
# script.
if __name__ == '__main__':