- From: Lachlan Hunt via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 05 Mar 2009 03:10:11 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/html-author/utils In directory hutz:/tmp/cvs-serv1133 Modified Files: elements.py Log Message: Updated script to output tag requirements Index: elements.py =================================================================== RCS file: /sources/public/html5/html-author/utils/elements.py,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- elements.py 5 Mar 2009 02:59:33 -0000 1.2 +++ elements.py 5 Mar 2009 03:10:09 -0000 1.3 @@ -67,6 +67,10 @@ desc = markup.getElementsByTagName("p")[0] desc.appendChild(summary['desc']) + tags = markup.getElementsByTagName("dd") + tags[0].appendChild(templateDocument.createTextNode(summary['start'])) + tags[1].appendChild(templateDocument.createTextNode(summary['end'])) + contentTableRows = markup.getElementsByTagName("table")[0].getElementsByTagName("tr") contentTableRows[0].getElementsByTagName("td")[0].appendChild(markUpList(summary['categories'])) contentTableRows[1].getElementsByTagName("td")[0].appendChild(markUpList(summary['containedby'])) @@ -98,6 +102,8 @@ summary['attributes'] = getDescriptions(dt[3]) summary['dom'] = getDescriptions(dt[4]) summary['desc'] = parser.parseFragment(config.get(summary['tagname'], 'desc')) + summary['start'] = config.get(summary['tagname'], 'start') + summary['end'] = config.get(summary['tagname'], 'end') markup = markUpSummary(summary) serialise(markup)
Received on Thursday, 5 March 2009 03:10:24 UTC