X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=blobdiff_plain;f=po%2Fxml2po.py;h=bf277987442def52ee7ff1f82e1772d2b134869e;hp=382f2d894d42fb058ede318d7e2a3a48f1e9c582;hb=c1311444ea249a45d0eceefa15d77fce410a54da;hpb=d2b1dcb3466ed5476094d9ff445d1df1b4ed14ff diff --git a/po/xml2po.py b/po/xml2po.py index 382f2d8..bf27798 100755 --- a/po/xml2po.py +++ b/po/xml2po.py @@ -12,6 +12,12 @@ class parseXML(ContentHandler): def startElement(self, name, attrs): if (attrs.has_key('text')): 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()