module documentation

Undocumented

Class XmlAttrBuilder class XmlAttrBuilder
Class XmlBuilder class XmlBuilder
Exception ParseError Undocumented
Function getAttrToXml Undocumented
Function getObjPropertyToXml Undocumented
Function getObjToXml Undocumented
Function getText Undocumented
Function getXmlType Undocumented
Function getXmlTypeSaveValue Undocumented
Function parseString Undocumented
Function serialize Undocumented
Function toCdata Undocumented
Function toXml Undocumented
Function xml_header Undocumented
Function xmlInitObjProperty Undocumented
Function xmlNodeSet Retrieve node-set for given tag-name from dictionary of XML-Node-Structure.
Function xmlOnCharacterData Undocumented
Function xmlOnUnknownEndTag Undocumented
Function xmlOnUnknownStartTag Undocumented
Function xmlParse Parse arbitrary XML-Structure into dictionary.
Constant INDENTSTR ################################################################################ # # Datatypes # ################################################################################
def getAttrToXml(self, base_path, data2hex, obj_attr, REQUEST): (source)

Undocumented

def getObjPropertyToXml(self, REQUEST, base_path='', data2hex=False, obj_attr={}, multilang=True): (source)

Undocumented

def getObjToXml(self, REQUEST, deep=True, base_path='', data2hex=False, multilang=True): (source)

Undocumented

def getText(nodelist, encoding='utf-8'): (source)

Undocumented

def getXmlType(v): (source)

Undocumented

def getXmlTypeSaveValue(v, attrs): (source)

Undocumented

def parseString(s): (source)

Undocumented

def serialize(node): (source)

Undocumented

def toCdata(self, s, xhtml=False): (source)

Undocumented

def toXml(self, value, indentlevel=0, xhtml=False, encoding='utf-8'): (source)

Undocumented

def xml_header(encoding='utf-8'): (source)

Undocumented

def xmlInitObjProperty(self, key, value, lang=None): (source)

Undocumented

def xmlNodeSet(mNode, sTagName='', iDeep=0): (source)

Retrieve node-set for given tag-name from dictionary of XML-Node-Structure.

Returns
listList of dictionaries of XML-Structure.
def xmlOnCharacterData(self, sData, bInCData): (source)

Undocumented

def xmlOnUnknownEndTag(self, sTagName): (source)

Undocumented

def xmlOnUnknownStartTag(self, sTagName, dTagAttrs): (source)

Undocumented

def xmlParse(xml): (source)

Parse arbitrary XML-Structure into dictionary.

Parameters
xml:str or StringIOxml data
Returns
dictDictionary of XML-Structure.
INDENTSTR: str = (source)

################################################################################ # # Datatypes # ################################################################################

Value
'  '