how to read from a msword doc and put the content in a xml file?
how to read from a msword doc and put the content in a xml file?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
paul danielPosted Feb 15, 2010, 5:44 AM
http://bytes.com/topic/c-sharp/answers/529047-how-convert-word-doc-xml-store-database
Amit ChoudharyPosted Feb 15, 2010, 4:50 AM
Please i suggest you to go to these article showing how to find an XML node in XML file:
http://support.microsoft.com/kb/308333
http://www.csharp-examples.net/xml-nodes-by-name/
http://www.java2s.com/Tutorial/CSharp/0540__XML/Findnodesbyname.htm
Hope these helps And don't forget to mark the answer.
Amit ChoudharyPosted Feb 15, 2010, 12:48 AM
Please following article for Reading text from MS word files:
http://www.boredguru.com/modules/articles/article.php?storyid=160
http://www.eggheadcafe.com/tutorials/aspnet/06c4cad1-922b-46fb-9f2d-b7f3016aef7a/read-microsoft-word-file.aspx
Now if you have Text the you can generate XML file as per your requirement. Design your specific DTD for XML. Read following article about generating XML programmatically using C#:
http://www.csharphelp.com/2006/05/creating-a-xml-document-with-c/
http://devhood.com/tutorials/tutorial_details.aspx?tutorial_id=773
Please mark the answer if it helps you.