Van,
This is more of a general fm question, but what if there is no pre-existing XML file. Do I need to create one? I have an unstructured fm document that I am converting to structured. Do I create an XML file from that?
Does every structured fm document need a prior XML document?
Thanks!
Does every structured fm document need a prior XML document? |
No. It depends upon the application. In my case, I create user manuals using structured FrameMaker. Our writing team created an EDD that does what we want and need it to do. We do not export or save the structured FrameMaker files as XML; however, we could if the need arose, for example, to create HTML versions for viewing in a browser. This application works for our needs.
I have one application in which I begin with XML. When I create a parts catalog, the part information is exported from a database as XML. The structure of this XML file is determined by the database; it does not match the structure design in my EDD. But I use an XSL transform to convert the parts XML into a structure that is valid with respect to my EDD. Again, it depends upon your application.
Some people DO export their structured FrameMaker files to XML. They may want to do something else with the content that requires its being in XML. Or they may use the XML for storage because XML files are smaller than FrameMaker files. Then when they open the XML files in FrameMaker, they are imported into a clean template, which cleans out any overrides and any junk that may have acummulated in the FrameMaker files.
If your goal is to convert unstructured FrameMaker files into structured files, then I suggest concentrating on developing the EDD that works for your needs. Export to XML can come later if you need it.
Van