def appproperties():
 appprops = makeelement('Properties', nsprefix='ep')
 appprops = etree.fromstring('<?xml version="1.0" encoding="UTF-8" standalone="yes"?><Properties xmlns="http://schemas.openxmlformats.org/officeDocument/2006/extended-properties" xmlns:vt="http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes"></Properties>')
 props = {'Template': 'Normal.dotm', 'TotalTime': '6', 'Pages': '1', 'Words': '83', 'Characters': '475', 'Application': 'Microsoft Word 12.0.0', 'DocSecurity': '0', 'Lines': '12', 'Paragraphs': '8', 'ScaleCrop': 'false', 'LinksUpToDate': 'false', 'CharactersWithSpaces': '583', 'SharedDoc': 'false', 'HyperlinksChanged': 'false', 'AppVersion': '12.0000'}
 for prop in props:
  appprops.append(makeelement(prop, tagtext=props[prop], nsprefix=None))
 return appprops

def appproperties ( ) : appprops = makeelement ( 'Properties' , nsprefix = 'ep' ) appprops = etree . fromstring ( '<?xml version="1.0" encoding="UTF-8" standalone="yes"?><Properties xmlns="http://schemas.openxmlformats.org/officeDocument/2006/extended-properties" xmlns:vt="http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes"></Properties>' ) props = { 'Template' : 'Normal.dotm' , 'TotalTime' : '6' , 'Pages' : '1' , 'Words' : '83' , 'Characters' : '475' , 'Application' : 'Microsoft Word 12.0.0' , 'DocSecurity' : '0' , 'Lines' : '12' , 'Paragraphs' : '8' , 'ScaleCrop' : 'false' , 'LinksUpToDate' : 'false' , 'CharactersWithSpaces' : '583' , 'SharedDoc' : 'false' , 'HyperlinksChanged' : 'false' , 'AppVersion' : '12.0000' } for prop in props : appprops . append ( makeelement ( prop , tagtext = props [ prop ] , nsprefix = None ) ) return appprops
create app-specific properties .