• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Framemaker XML export/conversion

New Here ,
Aug 23, 2018 Aug 23, 2018

Copy link to clipboard

Copied

Hi,

I am trying to use Framemaker 2017 to edit s1000d data modules that were originally created in a different program.  When we use the WYSIWYG view to edit and make pdfs, Framemaker re-structures portions of the document with it's own tags, such as <fm.graphic>, <fm.title>. I'm assuming this is from using the built-in structured applications (such as S1000D_description_401, etc.) to compose the document.

However, the xml file is now useless to us, as these "fm" tags cannot be read in our customer's CSDB. Unfortunately we had done significant work on the files before realizing this.

Is there an easy way to export a "clean" xml file from Framemaker without the "fm" tags?  Or perhaps to un-apply the structured application?

Thanks!

MG

TOPICS
Structured

Views

961

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Enthusiast , Aug 24, 2018 Aug 24, 2018

Hello MG, I hope I can help.

The fm tags you see should only be present in the FrameMaker environment and should not make it into the final export XML.

How are you saving the data modules to XML? You should be using the S1000D > Save As S1000D... command.

If you are doing that, but the data module is invalid, FrameMaker saves the data module without applying the export XSL transformation. Of course that's no use to anyone, so it's why we provided the ability to prevent the saving of invalid XML.

In

...

Votes

Translate

Translate
Enthusiast ,
Aug 24, 2018 Aug 24, 2018

Copy link to clipboard

Copied

Hello MG, I hope I can help.

The fm tags you see should only be present in the FrameMaker environment and should not make it into the final export XML.

How are you saving the data modules to XML? You should be using the S1000D > Save As S1000D... command.

If you are doing that, but the data module is invalid, FrameMaker saves the data module without applying the export XSL transformation. Of course that's no use to anyone, so it's why we provided the ability to prevent the saving of invalid XML.

In the S1000D Options dialog switch to the General tab. Make sure that the Do not export invalid XML option is checked. Now if you use the Save As S1000D option it will not save the XML if it is invalid. You can also enable the Post XSLT validation of XML on export which will validate the final output so that you will know that the output is valid and will be accepted by your customer's CSDB.

If your data module is shown as valid, but still does not export due to a validation error I would need to look at the file to see what's going on.

Please note that on recent versions of FrameMaker the XML View does not show the correct S1000D XML. This is a FrameMaker bug that was reported earlier this year.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 24, 2018 Aug 24, 2018

Copy link to clipboard

Copied

LATEST

Thanks Ian!  This makes sense - a validation error probably prevented the xml from exporting correctly. We will work on correcting the errors and then using the features you described.

Will future versions of Framemaker display the correct S1000D XML?  Or will the current versions be updated?

- MG

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines