Skip to main content
ScottPrentice
Inspiring
March 19, 2013
Question

Convert cross-ref to text on export to XML

  • March 19, 2013
  • 1 reply
  • 493 views

According to the documentation, this read/write rule should convert a cross-ref to text on export to XML ..

     fm element "xref" unwrap;

.. but this doesn't seem to work for me. Does this still work? Is more needed in the rules file? I've tried various things, but nothing seems to work.

Any ideas?

Thanks!

...scott

This topic has been closed for replies.

1 reply

Inspiring
March 20, 2013

Are you sure those cross-refs are "xref" elements? Maybe those are "fm-xref" elements. Just a wild guess.

ScottPrentice
Inspiring
March 20, 2013

Yeah .. not fm-xrefs .. this isn't DITA.

BTW .. note that fm-xrefs are converted to xrefs on save; the fm-xref is only used while the DITA fle is open in FM.

Cheers,

...scott