Please follow the below steps to add the non-dita file references.
1. Overlay the elementmapping.xml file from /libs/fmdita/config/elementmapping.xml to your custom folder under apps.
2. Add the following code to the xml file (Eg. PDF format)
<ditaelement>
<name>xref</name>
<class>- topic/xref</class>
<componentpath>fmdita/components/dita/link</componentpath>
<type>COMPOSITE</type>
<target>para</target>
<textprop>text</textprop>
<xpath><![CDATA[//xref[@format='pdf']]]></xpath>
<attributemap>
<attribute from="href" to="link" ispath="true" rel="SOURCE" />
<attribute from="format" to="format" />
<attribute from="scope" to="scope" />
</attributemap>
</ditaelement>
3. Update the Override Element Mapping setting in the com.adobe.fmdita.config.ConfigManager configuration and save it.
![AswiniLakshminarayanan_4-1670011752927.png AswiniLakshminarayanan_4-1670011752927.png](https://experienceleaguecommunities.adobe.com/t5/image/serverpage/image-id/50982iB8F5B1374BB0720B/image-dimensions/505x48/is-moderation-mode/true?v=v2)
4. Add the format attribute for the file reference.
![AswiniLakshminarayanan_5-1670011783869.png AswiniLakshminarayanan_5-1670011783869.png](https://experienceleaguecommunities.adobe.com/t5/image/serverpage/image-id/50983i5C192553D954003F/image-dimensions/497x71/is-moderation-mode/true?v=v2)