Skip to main content
Participant
August 9, 2011
Question

Import modified EDD into template document

  • August 9, 2011
  • 2 replies
  • 1017 views

Hi guys.

I have a dtd file that i have to modify.

i t contains the following element:

<!ELEMENT Pubinfo (Pubdate, Pubnumber)>

I modified it in this way:

<!ELEMENT Pubinfo (Pubdate, Pubnumber?)>

so now the Pubnumber is optional and not mandatory.

I opened the dtd on framemaker (7.x) and then saved it to optain an edd file.

I got a template file that use the edd file i just modified so i have to update the template file to use the modified edd.

so i open both files and then i do: import element definitions and then choose my modified edd from the list and framemaker says that the edd files was imported correctly. Now if i open a file to modify and choose to use my template, the document still require the Pubnumber element to be mandatory.

It seems that the modifications i made on the edd and reimported on the template doesn't take effect.

Can anyone help me please?. Is there something wrong on what i'm doing?

Thanks in advance.

This topic has been closed for replies.

2 replies

Inspiring
August 9, 2011

Two comments on the process you describe:

1) You say you open the DTD. I assume you opened it with StructureTools > Open DTD rather than simply opening it as a file.

2) Opening the EDD and then using StructurreTools > Import DTD to add the ? to the general rule is correct. Remember, though, that simply changing and saving the EDD will not update existing documents or your template. You must import element definitions from the modified EDD (or from a file into which those definitions have been imported) into the template and existing documents.

          --Lynne

Participating Frequently
August 9, 2011

Hi, ds!

I don't see anything wrong with your ELEMENT definition so, make sure that the structure change took effect in the template.  With the template file opened in FrameMaker, select File | Structure Tools | Export Element Catalog as EDD.   This will take a few minutes, depending on the size of the structure definition.   You should see something that resembles EDD's structure definition.  Search for "Pubinfo" and see if the definition is correct.

Regards

Chuck

Participating Frequently
August 9, 2011

If the ELEMENT definiton is OK for the template, verify it in the document.