X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=blobdiff_plain;f=po%2Fxml2po.py;h=bf277987442def52ee7ff1f82e1772d2b134869e;hp=dac3a773908fe12a1ce3de40e2180386a21d4758;hb=c1311444ea249a45d0eceefa15d77fce410a54da;hpb=7725f7f3f752fce60f4a5dff7ef68e59557ad613 diff --git a/po/xml2po.py b/po/xml2po.py index dac3a77..bf27798 100755 --- a/po/xml2po.py +++ b/po/xml2po.py @@ -14,6 +14,10 @@ class parseXML(ContentHandler): attrlist[attrs.get('text', "")] = "foo" if (attrs.has_key('title')): attrlist[attrs.get('title', "")] = "foo" + if (attrs.has_key('value')): + attrlist[attrs.get('value', "")] = "foo" + if (attrs.has_key('caption')): + attrlist[attrs.get('caption', "")] = "foo" parser = make_parser()