From 2645a941b86c97e016af657ec1ea90009c886b59 Mon Sep 17 00:00:00 2001 From: Giovanni Gherdovich Date: Fri, 22 Oct 2010 12:35:08 +0200 Subject: [PATCH] I forgot to remove the >print 1: # many elems don't have atts... pttrnAtt = ' *?.+.?=".*?"' - print "TMP", tmp attList = re.compile(pttrnAtt, re.DOTALL).findall(tmp[1]) for att in attList: tmp = att.split('=') - print "TMP2", tmp attName = tmp[0] attValue = tmp[1][1:-1] AttListHtml += (attPattern % (attName, attValue)) -- 2.43.0