freelanceprogrammers.org Forum Index » XML / XSL
Converting Frame files using predefiined DTD
Joined: 30 Sep 2005
Posts: 4
Converting Frame files using predefiined DTD
Okay. I`m just joining the XML world because my job has decided to
begin merging all old documents from Framemaker 7.0 to XML. The job
had a DTD predefined. Now, I have to work sort of backwards... I have
a framemaker file for a document which I created a DTD for. I have to
manually compare the DTD with the company issued and make sure my DTD
complies, but most importantly, I have to figure out a way to migrate
the files over using the company issued DTD. I`ve read and searched
for the answer, but can`t seem to find any concrete information. Can
somebody help me with this one?
Joined: 31 May 2005
Posts: 6
Converting Frame files using predefiined DTD
you might want to check exegenix at www.exegenix.com. the tool seems
to do a good job of converting documents from a variety of formats to XML.
--- In xml-doc@yahoogroups.com, "tameiceb" <tameiceb@y...> wrote:
> Okay. I`m just joining the XML world because my job has decided to
> begin merging all old documents from Framemaker 7.0 to XML. The job
> had a DTD predefined. Now, I have to work sort of backwards... I have
> a framemaker file for a document which I created a DTD for. I have to
> manually compare the DTD with the company issued and make sure my DTD
> complies, but most importantly, I have to figure out a way to migrate
> the files over using the company issued DTD. I`ve read and searched
> for the answer, but can`t seem to find any concrete information. Can
> somebody help me with this one?
Joined: 13 Jun 2003
Posts: 39
Converting Frame files using predefiined DTD
> Okay. I`m just joining the XML world because my job has decided to
> begin merging all old documents from Framemaker 7.0 to XML. The job
> had a DTD predefined. Now, I have to work sort of backwards... I have
> a framemaker file for a document which I created a DTD for. I have to
> manually compare the DTD with the company issued and make sure my DTD
> complies, but most importantly, I have to figure out a way to migrate
> the files over using the company issued DTD. ...
If your Frame files are structured, you can save as XML and apply
an XSLT transform to convert the files to your final DTD. Depending
on how much work you put into the transformation, you`ll have some
amount of manual cleanup.
If -- more likely -- your files are *un*structured, you have to first
add structure before you can save as XML (that`s not totally true;
you can save unstructured Frame as XML but it won`t be useful). You
have to set up a conversion table to translate paragraph and character
tags to XML elements. The "Structure Application Developer`s Guide"
PDF, in the OnlineManuals folder, describes conversion tables. In
general, the process looks like this:
1) Generate an initial conversion table. For best results, choose
a file that uses all the current paragraph/character tags and has
no overrides. (You may have to compromise somewhat on this step.)
2) Flesh out the initial structure table, adding missing elements
and wrapping sequences as necessary.
3) Try converting the original file. Use the results to determine
what to add or correct in the conversion table. Repeat step 3
until you`re tired of tweaking, or (a miracle!) it gets everything
right.
4) Convert another file, using the results to further refine your
conversion table. Repeat with each file.
5) There will be some amount of manual cleanup involved, based on
how clean your documents are (overrides and ambiguous tags give
trouble, but pagination overrides aren`t a problem).
If you intend to maintain the structured files in Frame, you need
to create an EDD from your DTD. (You can think of an EDD as a
combination DTD and style sheet.) Otherwise, once you have files
that are valid for your DTD, you`re done.
It can be a lot of work, especially if you have to keep working
while you`re converting. It might be best to move each manual
over one at a time.
--
Larry Kollar, Senior Technical Writer, ARRIS CPE Products
"Content creators are the engine that drives
value in the information life cycle."
-- Barry Schaeffer, on XML-Doc
Joined: 30 Sep 2005
Posts: 4
Converting Frame files using predefiined DTD
Thanks.
shrikantpathak <shrikant.pathak@...> wrote:you might want to check
exegenix at www.exegenix.com. the tool seems
to do a good job of converting documents from a variety of formats to XML.
--- In xml-doc@yahoogroups.com, "tameiceb" wrote:
> Okay. I`m just joining the XML world because my job has decided to
> begin merging all old documents from Framemaker 7.0 to XML. The job
> had a DTD predefined. Now, I have to work sort of backwards... I have
> a framemaker file for a document which I created a DTD for. I have to
> manually compare the DTD with the company issued and make sure my DTD
> complies, but most importantly, I have to figure out a way to migrate
> the files over using the company issued DTD. I`ve read and searched
> for the answer, but can`t seem to find any concrete information. Can
> somebody help me with this one?
Yahoo! Groups Links
---------------------------------
Yahoo! for Good
Click here to donate to the Hurricane Katrina relief effort.
[Non-text portions of this message have been removed]
All times are GMT
Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Freelace Website Designer - Customer web design and software building.
Booking Calendar - reservation calendar script
Land Surveying - total station instruments and equipments
China Wholesale - Electronics Products
Character Studio - Tutorials and Help
Booking Calendar - reservation calendar script
Land Surveying - total station instruments and equipments
China Wholesale - Electronics Products
Character Studio - Tutorials and Help







