Lines Matching refs:attrs
576 # Takes a string for the doctype, subset string, and namespace attrs string.
715 # list of (prefix, uri) ns declarations. Namespace attrs are
716 # constructed from this and added to the element's attrs.
829 attrs = ""
835 # add every new NS decl from context to L and attrs string
843 if attrs:
844 attrs = "%s\n %s='%s'" % (attrs, declname, uri)
846 attrs = " %s='%s'" % (declname, uri)
848 return attrs
895 def start_element_handler(self, name, attrs):