[Framers] OT: Word to XML

Lynne A. Price lprice at txstruct.com
Mon Jul 22 12:30:08 PDT 2019


On 7/22/2019 11:50 AM, Roger Shuttleworth wrote:
> Lynne - I have made conversion tables before, so that is not a 
> problem. Thanks for the tip about not needing a DTD. My Word docs (not 
> written by me) are all four pages long, and the style usage is 
> probably about 80%. I agree that there will be a lot of cleanup to do 
> first, but I can assemble dozens of files at once into a single file 
> and hopefully use Find/Replace and/or VBA to handle a lot of it, then 
> split the files up again later. 
Roger,
    If you go with FM, you can open the Word docs in FM and then use the 
Create and Apply Formats command to make sure that every distinct pgf 
format has a different name. For example, if two pgfs are both tagged 
Xyz but their paragraph properties don't exactly match, this command 
would leave the first one as is, but change the tag of the second one to 
Xyz1 and make an entry for Xyz1. This retagging is very useful if the 
appearance difference is noticeable and a pain if it is something that 
you don't care about. It does call your attention to all differences in 
paragraph, character, and table formats. Once you've decided which 
differences you want to preserve, you can map all the variants that 
should be combined to the same element in your conversion table, or you 
can do a global change of insignificant variants to the main form. Just 
remember that the suffixes that Create and Apply Formats assigns are 
likely to differ document to document.
     --Lynne

-- 
Lynne A. Price
Text Structure Consulting, Inc.
Specializing in structured FrameMaker consulting, application development, and training
lprice at txstruct.com            http://www.txstruct.com
voice/fax: (510) 583-1505      cell phone: (510) 421-2284



More information about the Framers mailing list