Copernicus  2.0
 All Classes Namespaces Files Functions Variables
cpc.util.xmlutil Namespace Reference

Functions

def getBooleanAttribute
 

Variables

string specNamespace = "http://www.gromacs.org/copernicus/project"
 
string mdpNamespace = "http://www.gromacs.org/mdp"
 
string indStr = " "
 

Function Documentation

def cpc.util.xmlutil.getBooleanAttribute (   attrs,
  name 
)
Get an attribute value that is boolean. Its value can either be
   "1", "true", "yes" for True or "0", "false", "no" or absent for False.
   attrs = the attributes list from startElement()
   name = the attribute name to check.
   returns: the boolean value of the attribute.

Variable Documentation

string cpc.util.xmlutil.indStr = " "
string cpc.util.xmlutil.mdpNamespace = "http://www.gromacs.org/mdp"
string cpc.util.xmlutil.specNamespace = "http://www.gromacs.org/copernicus/project"