{"ygPerms":{"resourceCapabilityList":[{"resourceType":"GROUP","capabilities":[{"name":"UPDATE"},{"name":"READ"},{"name":"WELCOME_MSG"},{"name":"PENDING_COUNT"},{"name":"ACTIVITY_LOGS"}]},{"resourceType":"PHOTO","capabilities":[{"name":"READ"},{"name":"READ"},{"name":"UPLOAD"},{"name":"UPDATE"},{"name":"DELETE"},{"name":"COPY"},{"name":"MOVE"},{"name":"APPROVE"},{"name":"UPLOADTEMP"},{"name":"GROUPCOVER"}]},{"resourceType":"FILE","capabilities":[{"name":"READ"},{"name":"CREATE"},{"name":"UPDATE"},{"name":"DELETE"},{"name":"AUTO_SEND"}]},{"resourceType":"MEMBER","capabilities":[{"name":"READ"},{"name":"READ"},{"name":"EDIT_MODERATOR"},{"name":"DELETE"},{"name":"CREATE"},{"name":"UPDATE"},{"name":"BAN"}]},{"resourceType":"LINK","capabilities":[{"name":"READ"},{"name":"CREATE"},{"name":"UPDATE"},{"name":"DELETE"},{"name":"MOVE_LINK"}]},{"resourceType":"CALENDAR","capabilities":[{"name":"READ"}]},{"resourceType":"DATABASE","capabilities":[{"name":"READ"},{"name":"READ_DATA"},{"name":"CREATE"}]},{"resourceType":"POLL","capabilities":[{"name":"READ"},{"name":"VOTE"},{"name":"UPDATE"},{"name":"CREATE"},{"name":"DELETE"},{"name":"CLOSE"}]},{"resourceType":"MESSAGE","capabilities":[{"name":"CREATE"},{"name":"READ"},{"name":"DELETE"}]},{"resourceType":"PENDING_MESSAGE","capabilities":[{"name":"READ"},{"name":"UPDATE"},{"name":"DELETE"}]},{"resourceType":"ATTACHMENTS","capabilities":[{"name":"READ"},{"name":"DELETE"}]},{"resourceType":"PHOTOMATIC_ALBUMS","capabilities":[{"name":"READ"},{"name":"UPLOAD"}]},{"resourceType":"MEMBERSHIP_TYPE","capabilities":[{"name":"READ"},{"name":"CREATE"},{"name":"DELETE"},{"name":"UPDATE"}]},{"resourceType":"POST","capabilities":[{"name":"READ"},{"name":"DELETE"},{"name":"UPDATE"},{"name":"CREATE"}]},{"resourceType":"PIN","capabilities":[{"name":"READ"},{"name":"DELETE"},{"name":"UPDATE"},{"name":"CREATE"}]}],"modStatus":"MODERATOR","subStatus":"NORMAL","groupUrl":"groups.yahoo.com","intlCode":"us"},"comscore":"pageview_candidate","ygData":{"userId":12196177,"authorName":"Marc Prior","from":"Marc Prior &lt;mail@marcprior.de&gt;","profile":"lin4trans","replyTo":"LIST","senderId":"MjjCZDepq4qcn8lHO7hJrAlXaNxg7vaV6aLJINF3tzwQG1QnSFm88qkN82YVPscl8s9BMxciEAwv_DVRj6aF5AC0c_xf","spamInfo":{"isSpam":false,"reason":"0"},"subject":"Re: [OmT] How to convert tmx 1.4 down to tmx 1.1","postDate":"1103215229","msgId":1160,"canDelete":true,"contentTrasformed":false,"systemMessage":false,"headers":{"messageIdInHeader":"PDIwMDQxMjE2MTc0MC4yOTI1OC5tYWlsQG1hcmNwcmlvci5kZT4=","inReplyToHeader":"PHdlYi00Nzg0NDQ4OEB0dXQuYnk+","referencesHeader":"PHdlYi00Nzg0NDQ4OEB0dXQuYnk+"},"prevInTopic":1159,"nextInTopic":1161,"prevInTime":1159,"nextInTime":1161,"topicId":1157,"numMessagesInTopic":9,"msgSnippet":"... There are certainly ways, and if you re a programmer they re simple. A SAX parser as you suggest, or alternatively a DOM parser would do it. Since tcl/tk","rawEmail":"Return-Path: &lt;mail@marcprior.de&gt;\r\nX-Sender: mail@marcprior.de\r\nX-Apparently-To: OmegaT@yahoogroups.com\r\nReceived: (qmail 8670 invoked from network); 16 Dec 2004 16:39:41 -0000\r\nReceived: from unknown (66.218.66.166)\n  by m23.grp.scd.yahoo.com with QMQP; 16 Dec 2004 16:39:41 -0000\r\nReceived: from unknown (HELO natsmtp00.rzone.de) (81.169.145.165)\n  by mta5.grp.scd.yahoo.com with SMTP; 16 Dec 2004 16:39:41 -0000\r\nReceived: from 192.168.0.159 (p54876A8C.dip.t-dialin.net [84.135.106.140])\n\tby post.webmailer.de (8.13.1/8.13.1) with ESMTP id iBGGddr1007619\n\tfor &lt;OmegaT@yahoogroups.com&gt;; Thu, 16 Dec 2004 17:39:39 +0100 (MET)\r\nTo: OmegaT@yahoogroups.com\r\nDate: Thu, 16 Dec 2004 17:40:29 +0100\r\nUser-Agent: KMail/1.5.4\r\nReferences: &lt;web-47844488@tut.by&gt;\r\nIn-Reply-To: &lt;web-47844488@tut.by&gt;\r\nMIME-Version: 1.0\r\nContent-Type: text/plain;\n  charset=&quot;windows-1251&quot;\r\nContent-Transfer-Encoding: quoted-printable\r\nContent-Disposition: inline\r\nMessage-Id: &lt;200412161740.29258.mail@marcprior.de&gt;\r\nX-eGroups-Remote-IP: 81.169.145.165\r\nFrom: Marc Prior &lt;mail@marcprior.de&gt;\r\nSubject: Re: [OmT] How to convert tmx 1.4 down to tmx 1.1\r\nX-Yahoo-Group-Post: member; u=12196177\r\nX-Yahoo-Profile: lin4trans\r\n\r\nOn Thursday 16 December 2004 16:59, Dmitri Gabinski wrote:\n&gt;\n&gt; Isn&#39;t there =\r\na simple way? \n\nThere are certainly ways, and if you&#39;re a programmer they&#39;r=\r\ne simple. A SAX \nparser as you suggest, or alternatively a DOM parser would=\r\n do it. \n\nSince tcl/tk is the only language I know, I recently started look=\r\ning at tDOM. \nThere&#39;s a very good introductory tutorial here:\n\nhttp://wiki.=\r\ntcl.tk/8984\n\n- it must be good, because even I can understand it. :-)  I st=\r\narted working \nthrough it with the short-term aim of producing a utility to=\r\n merge two TMX \nfiles (the existing one is very low-level, besides being bu=\r\nggy) and with \nthoughts of numerous uses in the longer term, but I ran out =\r\nof time. I really \ndon&#39;t think it would be difficult at all to use it to ma=\r\nnipulate TMX files; I \njust need to find the time.\n\nThere are equivalent to=\r\nols for Java, such as Xerces.\n\nMarc\n\n\nI mean, instead of converting do as f=\r\nollows:\n&gt; 1. Extract source and target texts from the source TMX. I guess, =\r\none\n&gt; can ignore the most of the XML meta data, just get the text. So, a SA=\r\nX\n&gt; parser would be enough (if that sound like nonsense, forgive a\n&gt; non-pr=\r\nofessional ;-).\n&gt; 2. Build something like a hashtable mapping translations =\r\nto chunks of\n&gt; source text.\n&gt; 3. On the basis of the hashtable, create a ne=\r\nw TMX. To simplify the\n&gt; task, the user may be required to do some things b=\r\ny hand, like\n&gt; defining the source and the target languages.\n&gt; Done.\n&gt;\n&gt; An=\r\ny ideas? (please, don&#39;t ask me for the code =97 I&#39;m not a guru like\n&gt; Maxym=\r\n :-)\n&gt;\n&gt; Best regards,\n&gt;\n&gt; Dmitri Gabinski\n&gt;\n&gt;\n&gt; ---\n&gt; =CE=F2=EA=F0=FB=EB=\r\n=F1=FF =F1=E0=EC=FB=E9 =E1=EE=EB=FC=F8=EE=E9 =E0=E2=F2=EE=F6=E5=ED=F2=F0 =\r\n=E2 =C1=E5=EB=E0=F0=F3=F1=E8. =CD=EE=E2=FB=E9 =E0=E2=F2=EE=F6=E5=ED=F2=F0 M=\r\nazda.\n&gt; =CC=E8=ED=F1=EA, =F3=EB.=CB=E5=F9=E8=ED=F1=EA=EE=E3=EE, 4. =CF=EE=\r\n=E4=F0=EE=E1=ED=EE=F1=F2=E8 =ED=E0 =F1=E0=E9=F2=E5 - http://www.mazda.by\n&gt;\n=\r\n&gt;\n&gt;\n&gt; Download OmegaT 1.4 from\n&gt;  http://sourceforge.net/projects/omegat\n&gt; =\r\nYahoo! Groups Links\n&gt;\n&gt;\n&gt;\n\n\n"}}