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

conversion: create "id" out of "Id"

New Here ,
Feb 09, 2009 Feb 09, 2009
Dear All,

another problem during converting a structured FM-document to xml:
In my unstructured FM-docuements I have the fm attribute "Id".
But in the DITA dtd I use the fm attribute is called "id" with a small i.

I have an application just for the conversion from fm to xml.
In the R/W-rules for this application I inserted the following line:
attribute "id" is fm attribute "Id";

Problem is that in the xml I get after conversion, both attributes are set: "id" and "Id".
Right now I have to delete all attributes "Id" manually.
Is there a way to do this automatically and without losing all the cross-refs?

Also: Is there a way to assign the attribute "Idref" to the fm-xref attribute "href"?

Cheers,
Anna
TOPICS
Structured
653
Translate
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
Community Expert ,
Feb 09, 2009 Feb 09, 2009
LATEST
I do the Id to id and other conversions with a FrameScript script after I convert my documents. Then it is done once and for all. FrameScript is a third-party scripting environment for FrameMaker (http://www.framescript.com). If you are interested in a script like this, please contact me offlist. Thanks.

Rick Quatro
rick at frameexpert dot com
585-659-8267
Translate
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