(self, namespace, name, attrs)
return {"type": "StartTag",
                "name": name,
                "namespace": namespace,
                "data": attrs}
Generates a StartTag token

        :arg namespace: the namespace of the token--can be ``None``

        :arg name: the name of the element

        :arg attrs: the attributes of the element as a dict

        :returns: StartTag token
Generates a StartTag token
Generates a StartTag token
def startTag(self, namespace, name, attrs):
        """Generates a StartTag token

        :arg namespace: the namespace of the token--can be ``None``

        :arg name: the name of the element

        :arg attrs: the attributes of the element as a dict

        :returns: StartTag token

        """
        return {"type": "StartTag",
                "name": name,
                "namespace": namespace,
                "data": attrs}
def startTag ( self , namespace , name , attrs ) : return { "type" : "StartTag" , "name" : name , "namespace" : namespace , "data" : attrs }