Convert Office - Word XML back to regular XML

eduardo9018A88

New Member
We have an XML file with language strings. Unfortunately one of the hired translators saved the translated XML file.The original format is:\[code\]<?xml version="1.0" encoding="UTF-8" standalone="no"?><help version="26-11-2008"><title>Handleiding</title><section><title>Algemeen</title><question>Wat is ...?</question><answer>the answer in language1</answer><question>Wat is een ...?</question><answer>the answer .. </answer></section></help>\[/code\]The resulting structure after saving it in Office 2007 is dramatic.(Just a grasp out from the "xml" file)\[code\]<w:t>What is ....?</w:t></w:r></w:p></w:customXml><w:customXml w:element="answer"><w:p w:rsidR="00836D5F" w:rsidRPr="00386F4A" w:rsidRDefault="007B2AA3" w:rsidP="007B2AA3"><w:pPr><w:ind w:left="720"/><w:rPr><w:lang w:val="en-US"/></w:rPr></w:pPr><w:r w:rsidRPr="00386F4A"><w:rPr><w:lang w:val="en-US"/></w:rPr> <w:t xml:space="preserve">The answer (part1)</w:t></w:r><w:r w:rsidR="00112F16" w:rsidRPr="00386F4A"><w:rPr><w:lang w:val="en-US"/></w:rPr><w:t xml:space="preserve">The answer (part2)</w:t></w:r><w:r w:rsidRPr="00386F4A"><w:rPr><w:lang w:val="en-US"/></w:rPr><w:t xml:space="preserve">the answer (part3) </w:t>\[/code\]Is there a way back? Do our dear friends at Microsoft provide us with any tool to revert back from this horrific XML and get the originial structure back:\[code\]<question></question><answer></answer>\[/code\]I have a bit of experience with xslt, but since microsoft also cut my answer texts in pieces, I get the feeling that I need to script my xslt for days to get back to where I came from...Help is very much appreciated!thx in advance.grtz, bas
 
Back
Top