I simply need to transforma XML document into a WordML document (if it is possible to call it simple!) with this form (without processing instructions):
<body>
<p>
<r>This is the <italic>standard</italic> text run.</r>
</p>
</body>
The transformed XML should look like this, as per an WordML document:
<w:body>
<w:p>
<w:r>
<w:t>This is the </w:t>
</w:r>
</w:p>
<w:p>
<w:pPr>
<w:i/>
</w:pPr>
<w:r>
<w:t>standard</w:t>
</w:r>
</w:p>
<w:p>
<w:r>
<w:t> text run.</w:t>
</w:r>
</w:p>
</w:body>
How should i create the XSLT transformation for properly handle the Italic tags??..