old_contents: #!/usr/bin/env python
  
  import sys
  
  PATH_INSTALL = "./"
  sys.path.append(PATH_INSTALL)
  
  from androguard.core.bytecodes import apk
  from androguard.util import read
  
  from xml.dom import minidom
  
  ap = apk.AXMLPrinter(read("examples/axml/AndroidManifest2.xml", binary=False))
  
  print minidom.parseString(ap.getBuff()).toxml()
  
new_contents: #!/usr/bin/env python
  
  import sys
  
  PATH_INSTALL = "./"
  sys.path.append(PATH_INSTALL)
  
  from androguard.core.bytecodes import apk
  from androguard.util import read
  
  from xml.dom import minidom
  
  ap = apk.AXMLPrinter(read("examples/axml/AndroidManifest2.xml", binary=False))
  
  print minidom.parseString(ap.get_buff()).toxml()
  
subject: Update axml_format_1.py