Skip to main content
Inspiring
May 3, 2009
Question

ElementPgfFormatTag r/w Translation

  • May 3, 2009
  • 1 reply
  • 1804 views

Using: FM 8.0

During the import of a DTD into the related EDD, I am trying to assign the proper TextFormatRules>ElementPgfFormatTag that is needed in the final fm document.

For example when I import a DTD into my EDD with the element name “TableProduct” the r/w rules automatically identifies this as a FrameMaker table element and set the object appropriately, by using:

element "TableProduct" is fm table element;

Is there a r/w rule that would do the same but only for the ElementPgfFormatTag element?

Thanks in advance for everyone’s help.

This topic has been closed for replies.

1 reply

Inspiring
May 4, 2009

I am confused as to what you are trying to do.

You state you are importing a DTD into its related EDD. It is my understanding that the EDD already contains the same structure rules as its related DTD.I do not know what it means to import a DTD into an existing EDD.

Are you trying to open an XML file, which gets converted to a Frame file? If so, you can edit the EDD to assign the correct paragraph format tag to each element. There is no need for a read/write rule.

JeddlemanAuthor
Inspiring
May 5, 2009

Van, thanks for your response, I will attempt to clarify my question.

Firstly, you are correct, the EDD is the DTD + CSS all in one, and more. Users can import a DTD into an EDD rather than staring it from scratch, as I did in this case. Then you can further develop the EDD to contain information beyond the DTD specifications. One of these pieces of information that can be added is assigning a certain FM Paragraph Tag to an element.

I use this DTD not only for FM but for other documents as well. For this reason as changes are made to the DTD, it is re-imported into the FM EDD on a regulator basis. Unfortunately when this is done it wipes out the associated Paragraph Tag element “ElementPgfFormatTag” from every element.

This is why I am looking to see if anyone knows a r/w syntax that could be used to established the “ElementPgfFormatTag” for these assigned elements during the DTD import process.

Thanks.

Legend
May 5, 2009

jeddlemen,

I've never tried it, but apparently the Import DTD command is designed for this purpose. Here's a page that talks about it:

http://wiki.scriptorium.com/tiki-index.php?page=Updating+an+EDD+with+DTD+information

Russ