daemon/core/emane/emane.py
def xmlwrite(self, doc, filename):
        ''' Write the given XML document to the specified filename.
        '''
        #self.info("%s" % doc.toprettyxml(indent="  "))
        pathname = os.path.join(self.session.sessiondir, filename)
        f = open(pathname, "w")
        doc.writexml(writer=f, indent="", addindent="  ", newl="\n", \
                     encoding="UTF-8")
        f.close()
 Write the given XML document to the specified filename.
        
Write the given XML document to the specified filename.
Write the given XML document to the specified filename .
def xmlwrite(self, doc, filename):
        pathname = os.path.join(self.session.sessiondir, filename)
        f = open(pathname, "w")
        doc.writexml(writer=f, indent="", addindent="  ", newl="\n", \
                     encoding="UTF-8")
        f.close()
def xmlwrite ( self , doc , filename ) : pathname = os . path . join ( self . session . sessiondir , filename ) f = open ( pathname , "w" ) doc . writexml ( writer = f , indent = "" , addindent = "  " , newl = "\n" , encoding = "UTF-8" ) f . close ( )
Write the given XML document to the specified filename.
Write the given XML document to the specified filename .
''' Write the given XML document to the specified filename.
        ''' #self.info("%s" % doc.toprettyxml(indent="  "))
self
doc
filename