|
|
|||
word to xml conversion
How to convert word doc to xml using vba.. pls send sample code,..
and also how to map the tags for word document 3 Replies
Comment by
Dathan N.
: Feb 07 2010 09:30 PM
I once developed a SharePoint WSS 3.0 Feature in C# which converts a Word Docx (which is a zip with XML files) to HTML by transforming via XSLT the XML to HTML. The embedded images needed to be extracted and stored on the server and the C# fixed the XML via xpath to replace the reference of the images to point to the external source. I used this article to help me: http://openxmldevelo...OSSconvert.aspx it's not VBA but I hope that helps.
If you're looking to convert a Microsoft Word file to XML using Visual Basic you might want to check out this article. As requested, it provides sample code. As for mapping tags, I'd suggest starting with the Word Object Model Reference. This will at least give you an understanding of what comprises a Word file. For further reading I'd suggest checking out this article on some pitfalls you may encounter while converting a Word document to XML.
Comment by
dtiwarihk
: May 31 2010 03:41 AM
Hello There,
I need to check if a word document conversion to XML, assume that if we copy paste from PDF, is it possible that it will work. or do you require to TYPE the complete pages. |
|||
|