def ManifestFromDOM(domtree):
 manifest = Manifest()
 manifest.load_dom(domtree)
 return manifest

def ManifestFromDOM ( domtree ) : manifest = Manifest ( ) manifest . load_dom ( domtree ) return manifest
create and return manifest instance from dom tree .