Xrefs not being copied to output folder - webhelp

Post here questions and problems related to editing and publishing DITA content.
rminaker
Posts: 27
Joined: Thu Dec 19, 2013 4:34 pm

Xrefs not being copied to output folder - webhelp

Post by rminaker »

Hi,

I've created several .dita topics where I've inserted File Reference Xrefs to PDF and Excel files. When I generate a Webhelp output, the PDF files are automatically copied over to the output directory, but the Excel files aren't. If I move the Excel files manually (copy / paste) everything works fine.

Is there a setting or a tweak I need to make to my template to tell the plugin/scenario to move the Excel files to the output folder along with the PDFs?

This is what my links look like. The only difference seems to be the 'format'.

<entry><xref
href="folder/file_name.xlsx"
format="xlsx" scope="external">Excel file</xref></entry>

<entry><xref
href="folder/file_name.pdf"
format="pdf" scope="external">Excel file</xref></entry>

Thanks!

R.
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: Xrefs not being copied to output folder - webhelp

Post by sorin_ristache »

Hi,

You need to add .xslx to the list of supported DITA resource types and also add the folder/file_name.xlsx file as a resource reference to the map (a topicref with the processing-role="resource-only" attribute). Please see this topic for more details.


Regards,
Sorin
Post Reply