DogMelon

API Reference


WikiLoaderXML.save( filename, bookname )

Parameters:

filename the name of the XML file we to be written
bookname the name of the book to be written


Returns:

integer:

'1' if the file was saved OK

'0' otherwise


Remarks:

The exporter does not construct the directory for you. It is assumed to exist. If necessary, you can create it using Python's file manipulation library. See 'mkdir()' and 'mkdirs()' in the 'os' module.


back