'Get XML representation from self.
Overrides the base L{BaseError.getElement} to make sure the returned
element is in the XML Stream namespace.
@rtype: L{domish.Element}'

def getElement(self):

    from twisted.words.protocols.jabber.xmlstream import NS_STREAMS
    error = BaseError.getElement(self)
    error.uri = NS_STREAMS
    return error
