Hi Folks,
I have a problem with the Cross-References. I create an EDD and Read/Write rules, and generate a conversion table. With it I'm converting all the my documentation in MS Word to Structured FM 7,2. It works well, but there two main problems that I can't solve. I spent a lot of time reading the Structure application Developer Guide, but I can't find a solution.
First one is a minor problem that I can solve with a script but, maybe I'm doing something wrong on FM and it is easy to fix on the conversion table. When I apply the conversion table it generate without problems the RootElement, and apply tags for the paragraphs and Character formats, but I can't do that put other tags that are not related with text. I mean, my DTD need this structure:
<book>
<body>
<heading1>xxxxx</heading1>
</body>
</book>
and I obtain it:
<book>
<heading1>xxxxx</heading1>
</book>
I don't know if I can modify Rules, or EDD or Conversion table, to add the intermediate tag when use Structure Current Document
Second one is a blocking one. I generate the XML with the tags and fix any problem on it. It works great and I obtain a XML :
<book><heading1 Id = "i1003066"><bookmark
type = "38548: Heading 1: 1. This is the title"/>This is the title</heading1>
<paragraph>This is the text of the Title <reference Idref = "i1003066" type = "Page"/> and it bla bla bla</paragraph></book>
But when I try to re-open the XML with my structured application I obtain a log error:
"Error at line 17, char 31, Message: ID attribute 'i1003066' was referenced but never declared"
and a warning about cross-references missing (they working before save it as XML). File open and all is fine, except that references are missing and when I try to update the Reference dialog box to find other file is open with this message:
1 Unresolved Cross-References to File: Current
And ask me to find the "Current" file where point the reference. All the references in the document appears missing.
Must I have two set of files, one FM for generate the PDF, and the XML for generate the help with my XLS? It is not possible re-open the XML on Framemaker and don't lost the references?
Thanks for your help.
Regards,