|
HTTP Server for Tux Droid
|
Functions | |
| def | toXML (structure, stylesheetFile=None) |
| def | fromXML (xmlFile) |
| def | __insertLeaf (parentNode, textID, textValue) |
| def | __insertNode (parentNode, nodeID) |
| def | __structToXML (struct, xslPath=None) |
| def | __xmlToStruct (xml_path) |
Variables | |
| __author__ | |
| __date__ | |
| __version__ | |
| __licence__ | |
|
private |
Insert a leaf in a xml structure.
|
private |
Insert a node in a xml structure
|
private |
Write a xml file from a dict structure.
|
private |
Get a dict structure from a xml file.
| def util.misc.XMLSerializer.fromXML | ( | xmlFile | ) |
Read the content of a XML file to a python structure. @param xmlFile: XML file to read. @return: A python dictionary or None.
| def util.misc.XMLSerializer.toXML | ( | structure, | |
stylesheetFile = None |
|||
| ) |
Create the content of a XML file from a python structure.
@param structure: Python structure to write.
@param stylesheetFile: Stylesheet file path to include in the xml file.
(Default None)
@return: The success of the XML file write.
|
private |
|
private |
|
private |
|
private |