Ignoring a copy-to file Error

Post here questions and problems related to editing and publishing DITA content.
rdelong
Posts: 72
Joined: Tue Oct 21, 2014 10:01 pm

Ignoring a copy-to file Error

Post by rdelong »

I'm trying to get @copy-to to work. I've read the spec and the Oxygen Help topics, so I think I'm setting up the files correctly, but I still can't get this work (OT 1.8.5).

Code: Select all

 <map> ...
<topicgroup>
<topicmeta>
<navtitle>Setup</navtitle>
</topicmeta>
<topicref href="conTypesOfSoftwareUpdates.dita"
copy-to="conTypesOfSoftwareUpdates-2.dita">
<topicmeta>
<linktext>Unique Software Title</linktext>
</topicmeta>
</topicref>
<topicref href="taskUploadSoftwareFirmwarePackage.dita"/>
<topicref href="refSoftwareAndFirmwareOverviewPage.dita"/>
</topicgroup>
... </map>
I'm trying to set it up so an xref from taskUploadSoftwareFirmwarePackage.dita points to conTypesOfSoftwareUpdates-2.dita.

With this setup, I get the following message in the output log:

Code: Select all

...
[filter] Processing C:\_working\input\projects\fscli_reference\conTypesOfSoftwareUpdates-2.dita
[filter] Ignoring a copy-to file fscli_reference/conTypesOfSoftwareUpdates-2.dita
Radu
Posts: 9049
Joined: Fri Jul 09, 2004 5:18 pm

Re: Ignoring a copy-to file Error

Post by Radu »

Hi,

And does the output work? Is a new HTML file created for the copy-to location?
If you can come up with a sample DITA project, please zip it and send it to "support@oxygenxml.com" along with more details.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
rdelong
Posts: 72
Joined: Tue Oct 21, 2014 10:01 pm

Re: Ignoring a copy-to file Error

Post by rdelong »

As I was putting the sample files together and testing them, I got this feature to work! Go figure!

What I was doing wrong was xref'ing to the results file (conTypesOfSoftwareUpdates-2.html) instead of the new (copy-to) file (conTypesOfSoftwareUpdates-2.dita).

Thanks
Post Reply