# Python: module fabmetheus_utilities.xml_simple_writer

fabmetheus_utilities.xml_simple_writer ($Date: 2008/21/04 $) | index /home/enrique/Desktop/backup/babbleold/script/reprap/fabmetheus/fabmetheus_utilities/xml_simple_writer.py

`XML tag writer utilities.`

Modules

``

__init__ | cStringIO |  |

Functions

``

addBeginEndInnerXMLTag(attributeDictionary, className, depth, innerText, output, text='')
  `Add the begin and end xml tag and the inner text if any.`

addBeginXMLTag(attributeDictionary, className, depth, output, text='')
  `Add the begin xml tag.`

addClosedXMLTag(attributeDictionary, className, depth, output, text='')
  `Add the closed xml tag.`

addEndXMLTag(className, depth, output)
  `Add the end xml tag.`

addXMLFromLoopComplexZ(attributeDictionary, depth, loop, output, z)
  `Add xml from loop.`

addXMLFromObjects(depth, objects, output)
  `Add xml from objects.`

addXMLFromVertexes(depth, output, vertexes)
  `Add xml from loop.`

addXMLFromXYZ(depth, index, output, x, y, z)
  `Add xml from x, y & z.`

compareAttributeKeyAscending(key, otherKey)
  `Get comparison in order to sort attribute keys in ascending order, with the id key first and name second.`

getAttributeDictionaryString(attributeDictionary)
  `Add the closed xml tag.`

getBeforeRootOutput(xmlParser)
  `Get the output before the root and the root xml.`

getBeginGeometryXMLOutput(xmlElement=None)
  `Get the beginning of the string representation of this boolean geometry object info.`

getBeginXMLOutput()
  `Get the beginning of the string representation of this object info.`

getDictionaryWithoutList(dictionary, withoutList)
  `Get the dictionary without the keys in the list.`

getEndGeometryXMLString(output)
  `Get the string representation of this object info.`

Data
`` |  | __author__ = 'Enrique Perez (perez_enrique@yahoo.com)' __credits__ = 'Nophead <http://hydraraptor.blogspot.com/>\nArt of Illusion <http://www.artofillusion.org/>' __date__ = '$Date: 2008/21/04 $' __license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html' absolute_import = _Feature((2, 5, 0, 'alpha', 1), (2, 7, 0, 'alpha', 0), 16384)

Author
`` |  | Enrique Perez (perez_enrique@yahoo.com)

Credits
`` |  | Nophead <http://hydraraptor.blogspot.com/> Art of Illusion <http://www.artofillusion.org/>