Quantcast
Channel: Adobe Community : Popular Discussions - FrameMaker Structured
Viewing all articles
Browse latest Browse all 66580

fm-xref adds text to element

$
0
0

Hello,

 

I have been using FrameMaker 10 to convert fm files into DITA XML format. Some of my <title> elements contain "conkeyref" variables as the same topic is used in many different products.

 

When I cross-reference these topics, FrameMaker automatically adds the literal text in the title (including the placeholder text that my variable element uses) after the <xref> tag in my XML. When I generate the output using the DITA OpenToolkit, the cross-references do not update using the variable value, but instead use the literal text that Frame is adding.

 

For example, this is a line taken from the XML file:

 

<p><xref  type = "fm:" href = "dp_about.xml#id11CKI0FK0BI">Documentation Procedures in prodName</xref></p>

 

prodName is simply the placeholder text used to identify where a variable has been placed. When this is processed by the DITA OpenToolkit, Documentation Procedures in prodName displays in the output.

 

If I manually remove the automatically added text (as below), the output is generated properly using the defined variable value.

 

<p><xref  type = "fm:" href = "dp_about.xml#id11CKI0FK0BI"></xref></p>

 

Once I open the same XML file in FrameMaker, the cross-reference updates and the over-riding text is added back into the XML. I know that I can turn off the Auto-Load Xrefs On File Open option, but this does not help when adding a new cross-reference. This additional text is very troublesome and manually removing it from every XML file using a text editor is not an option (I currently have over 900 files in the document).

 

This problem also occurs if I change the title of one topic. The existing cross-references do not update to include the new title name when they are processed by the OpenToolkit.

 

How can I force FrameMaker to not add this text when a cross-reference is added to the XML?

 

Thanks


Viewing all articles
Browse latest Browse all 66580

Trending Articles



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