Trevor Lowing
2005-03-12 13:16:35 UTC
I'm trying to export a Word document to XML manually (because I need
something more like DocBook XML -but not exactly DocBook). I think I
have a routine that crawls through the document tree pretty decently
paragraphs, lists, tables ->range.text but I need to identify text
styles and extra attributes for headings, links, bookmarks
bold-italics-superscript-subscript, etc within the paragraph ranges.
One approach I tried was to select the text and "find" the style within
the document and add the XML tagging around the elements (but it forces
me to monkey with modifying the actual document and undoing changes
afterward). I've also tried checking character-by-character
(slooooooow). Any decent ideas?
something more like DocBook XML -but not exactly DocBook). I think I
have a routine that crawls through the document tree pretty decently
paragraphs, lists, tables ->range.text but I need to identify text
styles and extra attributes for headings, links, bookmarks
bold-italics-superscript-subscript, etc within the paragraph ranges.
One approach I tried was to select the text and "find" the style within
the document and add the XML tagging around the elements (but it forces
me to monkey with modifying the actual document and undoing changes
afterward). I've also tried checking character-by-character
(slooooooow). Any decent ideas?
--
---------------------------------
Trevor Lowing
Satellite Beach, Fl
---------------------------------
Trevor Lowing
Satellite Beach, Fl