class_docstr: recursive visitor to write unicode. 
class_docstr_tok: ["recursive","visitor","to","write","unicode","."]
code: def attributes(self, tag):
      # serialize attributes
      attrlist = dir(tag.attr)
      attrlist.sort()
      l = []
      for name in attrlist:
          res = self.repr_attribute(tag.attr, name)
          if res is not None:
              l.append(res)
      l.extend(self.getstyle(tag))
      return u("").join(l)
  
imports: import sys, re
label_desc: Use image node_id 7 for calling the SimpleUnicodeVisitor obj's underlying member method code with example usage: obj.attributes(tag) and returns: u