icon-naming-utilsに含まれる「legacy-icon-mapping.xml」をxml.parsers.expatを使ってパースし、 「link要素の値」->(「context要素のdir属性」, 「icon要素のname属性」) となる辞書を返すpythonスクリプトを書いてみた。 iconmap2.py: # -*- coding: utf-8 -*- from __future__ import with_statement from xml.parsers.expat import ParserCreate _cnt = "" _name = "" _data = "" _dict = {} def make(buf=False): """Make database which is accessible by Databese.dict""" global _cn