# HG changeset patch # User casties # Date 1311842199 -7200 # Node ID e959bc6bf2a77771a52f5cbf09463d183ce25c98 # Parent 00147a1ab4ac9512c290a7eb8797ac57ff1420f4 starting use for other metadata elements diff -r 00147a1ab4ac -r e959bc6bf2a7 MetaData.py --- a/MetaData.py Wed Jul 27 21:08:01 2011 +0200 +++ b/MetaData.py Thu Jul 28 10:36:39 2011 +0200 @@ -74,6 +74,12 @@ return '' return path + + def getSubDom(self, dom): + """returns the subtree of the dom rooted in this element""" + + def getSubElements(self, dom): + """returns a dict with names and text values of direct child elements""" def getMapping(self, type): """returns MetaDataMapping for type"""