Quantcast
Channel: Adobe Community : Unanswered Discussions - Adobe FrameMaker
Viewing all articles
Browse latest Browse all 5254

Converting structured FM to DITA

$
0
0

Hello,

 

I have received structured FM file from a client and I would like to convert this file to DITA.

 

I have tried to achieve this several times by restarting from the beginning and by reading all the doc I could find, but I cannot manage to get my XML file.

 

Below are the steps I followed:

  1. Open the file (2 Safety.fm).
  2. Create a new structured application (named "TEST") with no DTD, no read/write rules, etc, only template.
  3. Define structured application (TEST) for the document 2 Safety.fm.
  4. Export elements catalog as EDD.
  5. Save this EDD as a DTD.
  6. Save 2 Safety.fm as XML.
  7. Added line <!DOCTYPE chapter SYSTEM ".... DTD\test2.dtd"> in the XML file to declare the external DTD obtained as step 5.
  8. Tried importing XML file into FM but there's many elements appearing in red in the structure view, there's no formatting, and errors appear in the console (below are 2 of them translated from French, sorry about that) :

 

Error at line 34, character 59, Message : Empty invalid content for content model '(entry)+'.

Error at line 75, character 30, Message : Attribute '{http://www.w3.org/2000/xmlns/}fm' has not been declared for element 'module'.

 

 

Now I have a few questions :

  • I can't find text http://www.w3.org/2000/xmlns/ in my XML file so I don't know from where the error above comes from ?
  • Is it now that I have to write the read/write rules to remove the errors above ? Is the StructureTools / New read write rules method the right method to create these rules ?
  • About formatting, will declare a template in the TEST application will be sufficient to get everything looking as in the FM file ?

 

Thank you very much in advance for your explanations and for enlightning me on this matter.

 

Regards.


Viewing all articles
Browse latest Browse all 5254

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>