Skip to main content
Known Participant
June 6, 2014
Answered

Does anyone have an example of a conversion table?

  • June 6, 2014
  • 2 replies
  • 814 views

I am almost killed by this. By the way, I am converting unstructured to sturctured.

This topic has been closed for replies.
Correct answer Russ Ward

I have a couple old samples here... I think they still work.

http://www.weststreetconsulting.com/WSC_ResourceDownloads.htm

By the way, I've never understood the purpose of the RE:RootElement rule. It doesn't seem to have any value. The best way is just to ensure that your table structures all the way to the top, I think.

Russ

2 replies

Russ WardCorrect answer
Legend
June 6, 2014

I have a couple old samples here... I think they still work.

http://www.weststreetconsulting.com/WSC_ResourceDownloads.htm

By the way, I've never understood the purpose of the RE:RootElement rule. It doesn't seem to have any value. The best way is just to ensure that your table structures all the way to the top, I think.

Russ

ScottPrentice
Inspiring
June 6, 2014

I'm with Russ on this .. I never use the RootElement rule. Seems like "cheating" to me. I set up the element wrapping rules to properly wrap all the way up to the root, and if I get a document that has NoName as the root, I immediately know that something didn't work. It's a good way to quickly validate which files have converted reasonably well and which haven't.

…scott

Known Participant
June 9, 2014

Why no elements in my bookmark setup? What is Thread by Colum?

Thank you very much. I have posted another question about bookmark but got no answer. Could you pls take a look? I pasted the link here.

ScottPrentice
Inspiring
June 6, 2014

Download the trial of my FM2DITA plugin. It has some sample files (including a conversion table) as well as general documentation that may be useful ..

     http://leximation.com/tools/info/fm2dita.php

You can also download some sample files from here ..

     http://leximation.com/downloads/adobe-fm2xml-2013/

Cheers,

Scott Prentice

Leximation, Inc.

www.leximation.com

Known Participant
June 6, 2014

Still didn't find the right use of "RE:RootElement      xxxxxx" which is read on the guide. Do you know that?

Inspiring
June 9, 2014

The optional RE: rule in a conversion table is a workaround for a particular type of error.

A conversion table is used to convert an unstructured document to a structured one by deducing an element structure from the tagging in the unstructured document. Each row in the conversion table describes how to wrap a new element around some combination of objects in the original document and elements that have already been created. FrameMaker applies the conversion table from the bottom up. It starts with the lowest-level constructs in the hierarchy (the objects in the unstructured document) and keeps applying rules as long as possible. If the conversion table is complete and correct and there are no unexpected objects in the original document, the final wrapping operation should wrap the entire document in a single element.

Often, though, this ideal situation does not occur. However, every structured flow consists of a single element hierarchy (a tree not a forest). Thus, there must be a root element that encompasses the entire flow. Without an RE: rule, FrameMaker calls this root element NoName, which unless defined in an EDD, is erroneous. The RE: rule simple specifies the element name for the root element. Whether the contents of this element are valid depends on the EDD and the entire conversion process including applying the conversion table and cleaning up the result with the appropriate tools (manual editing, XSLT, scripting, etc.)

           --Lynne