Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

get 'nice' XML from a Word 2003/2007 doc?

Status
Not open for further replies.

StuckInTheMiddle

Programmer
Mar 3, 2002
269
US
Does anyone know of the easiest method of converting a word doc either 2003 or 2007 to 'nice' looking XML.

I know there's the say as XML option in 2003, and 2007 natively supports XML, but both these options wrap the usual amount of MS rubbish tags in there. I simply want to have tags that tell me the text in the document and the formatting of that text, most likely in paragraphs.

I considered using words document model and listing through storyranges for the properties i want in VBA and adding my own XML tags, but this seems very cumbersome/slow/not extensible.

Any ideas appreciated, there most be someone else out there you needs XML from word docs :)

A,

"If you can stay calm, while all around you is chaos...then you probably haven't completely understood the seriousness of the situation.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top