Search code examples
dita

How can I get xref files into the output created by Oxygen XML Editor's Transformation?


I have some XML files that are referenced by a .ditamap file that I run through Oxygen XML Editor's Transformation process. Inside one of these XML files is:

[<b><xref href="aFile.html" scope="external">Some Text</xref></b>]

aFile.html does not get placed in the transformed output. How can I make this happen?

I did try the object tag instead of xref, and that did cause aFile.html to appear in the output, but it embedded a scrollable window in my page, and I want a hyperlink to a file.

UPDATE 1: A) I added the format and removed the scope attributes, but there was no difference.

[<b><xref href="aFile.html" format="html">Some Text</xref></b>]

B) I added scope local, but there was no difference.

[<b><xref href="aFile.html" format="html" scope="local">Some Text</xref></b>]

UPDATE 2: I am using version 21 of the tool and the DITA Map WebHelp Classic (deprecated) Transformation Scenario.


Solution

  • Remove scope=external attribute and add instead format=html attribute. Files referenced with scope external are not copied to output folder.