WordML inside HTML

Y

Yves Dhondt

Hello,

Is there a way to embed Word(Processing)ML directly in a HTML file so that
when I open the HTML file using Word, the WordML gets displayed correctly?

I tried wrapping the WordML inside an xml element but that didn't seem to
work:

<html xmlns="http://www.w3.org/TR/REC-html40"
xmlns:v="urn:schemas-microsoft-com:vml"
xmlns:eek:="urn:schemas-microsoft-com:eek:ffice:eek:ffice"
xmlns:w="urn:schemas-microsoft-com:eek:ffice:word">
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1"/>
<meta name="ProgId" content="Word.Document"/>
<meta name="Generator" content="Microsoft Word 12"/>
<meta name="Originator" content="Microsoft Word 12"/>
</head>
<body>
<xml>
<w:wordDocument>
<w:body>
<w:p>
<w:r>
<w:rPr>
<w:b/>
</w:rPr>
<w:t>13/04/2010</w:t>
</w:r>
</w:p>
</w:body>
</w:wordDocument>
</xml>
</body>
</html>

Dumping the WordML directly inside the body element gives me the textual
output, but not the formatting (bold).

Any suggestions?

Yves
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top