Skip to main content
March 2, 2012
Question

Conversion of the highest valid element passing attributes?

  • March 2, 2012
  • 1 reply
  • 691 views

Hello,

Question. I am trying to convert a large book. I would like to assign some attritubes to the highest valid element.

My conversion table looks like this:

RE:RootElement

Document[SpecTitle=”titlehere”
& SpecNumber=”XXXXX”

& Revision=”A01”

& ChapterName=”??”]

RE        

After the conversion, the root element is red with the attributes assigned. When I change it to the same root element in my element catalog all the attributes disappear.

Is it wrong to want to assign attributes to the highest valid element (root element)?

If it is "legal" to assign attributes is there something wrong with my conversion table?

Thanks for any help!

Margaret

This topic has been closed for replies.

1 reply

Inspiring
March 2, 2012

Margaret,

After you applied the structure with your conversion table, did you import your EDD into the structured document? If not, FrameMaker has no way of knowing what is and is not allowed in your structure. I have never changed an element with invalid attributes to another one; so I am not sure whether FrameMaker would keep them or delete them.

In any event, try importing the EDD before checking the validity of the structure. Without it, FrameMaker is just guessing.

Van

March 2, 2012

Yes I did import the edd and template into the new structure doc. The

converted RE doesn't match the edd. So.... that must mean my edd needs to

match my RE in the conversion table including the assigned attributes?

Inspiring
March 2, 2012

Yes, the EDD has to specify that the root element is allowed at the highest level. AND the EDD has to specify that the attributes are indeed part of the root element's definition; of course, the EDD does not have to specify the values of the attributes.

NOTE that the EDD can specify that several elements are allowed at the highest level. There is no restriction to just one.