'Serialize this Element and all children to a string.'

def toXml(self, prefixes=None, closeElement=1, defaultUri='', prefixesInScope=None):

    s = SerializerClass(prefixes=prefixes, prefixesInScope=prefixesInScope)
    s.serialize(self, closeElement=closeElement, defaultUri=defaultUri)
    return s.getValue()
