Package ndg :: Package soap :: Package utils :: Module etree
[hide private]

Module etree

source code

ElementTree Utilities package for NDG SOAP Package

NERC DataGrid Project


Date: 02/04/09

Author: P J Kershaw

Contact: Philip.Kershaw@stfc.ac.uk

Copyright: (C) 2010 Science and Technology Facilities Council

License: http://www.apache.org/licenses/LICENSE-2.0

Classes [hide private]
  QName
XML Qualified Name for ElementTree
  _PrettyPrint
Class for lightweight pretty printing of ElementTree elements
Functions [hide private]
 
makeEtreeElement(tag, ns_prefix, ns_uri, attrib={}, **extra)
Makes an ElementTree element handling namespaces in the way appropriate for the ElementTree implementation in use.
source code
 
prettyPrint(*arg, **kw)
Lightweight pretty printing of ElementTree elements.
source code
Variables [hide private]
  __revision__ = '$Id: etree.py 7131 2010-06-30 13:37:48Z pjkers...
  __package__ = 'ndg.soap.utils'
Function Details [hide private]

prettyPrint(*arg, **kw)

source code 

Lightweight pretty printing of ElementTree elements. This function wraps the PrettyPrint class

Parameters:
  • arg (tuple) - arguments to pretty print function
  • kw (dict) - keyword arguments to pretty print function

Variables Details [hide private]

__revision__

Value:
'$Id: etree.py 7131 2010-06-30 13:37:48Z pjkersha $'