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="urn:schemas-microsoft-comfficeffice"
xmlns:w="urn:schemas-microsoft-comffice: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>
<w:r>
<w:rPr>
<w:b/>
</w:rPr>
<w:t>13/04/2010</w:t>
</w:r>
</w>
</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
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="urn:schemas-microsoft-comfficeffice"
xmlns:w="urn:schemas-microsoft-comffice: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>
<w:r>
<w:rPr>
<w:b/>
</w:rPr>
<w:t>13/04/2010</w:t>
</w:r>
</w>
</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