Source-XML: <para> Table1: <-- This description of the table shall get enclosed in <w:p><w:r><w:t>Table1:</w:t></w:r></w:p> --> <table> <-- But the table <w:tbl> must not be within a paragraph (w:p) in ms word xmls --> <tr><td>huha</td></tr> <tr><td>huha</td></tr> <table> Table2: <table> <tr><td>hiha</td></tr> <tr><td>hiha</td></tr> <table> <para> Desired XML: <w:p> <w:r><w:t>Table1:</w:r></w:t> </w:p> <w:tbl> <w:tr><w:tc>huha<w:tc><w:/tr> <w:tr><w:tc>huha<w:tc><w:/tr> </w:tbl> <w:p> <w:r><w:t>Table2:</w:r></w:t> </w:p> <w:tbl> <w:tr><w:tc>hiha<w:tc><w:/tr> <w:tr><w:tc>hiha<w:tc><w:/tr> </w:tbl> any suggestions? thanks in advance, stefan
Let me simplify it to... source-xml: <z> A1 <b>B1</b> A2 </z> desired target-xml: <z> <a>A1</a> <b>B1</b> <a>A2</a> </z> ...anyone?
stefan.oedenkoven@googlemail.com wrote: > Let me simplify it to... > > source-xml: > <z> > A1 > <b>B1</b> > A2 > </z> > > desired target-xml: > <z> > <a>A1</a> > <b>B1</b> > <a>A2</a> > </z> > > ...anyone? See http://groups.google.com/group/comp.text.xml/browse_thread/thread/463048c5093e49a8# -- Martin Honnen --- MVP XML http://JavaScript.FAQTs.com/