Hi,

I hope you can help. I'm stuck with how I can have a link to an attachment from 
a topic and have it convert correctly to webhelp using ditac.

The attachments are xml files but with a suffix .moform. I've put these files 
in a folder called attachments and in the topic I have Xrefs like:

<xref href="../attachments/Dates.moform">Dates.moform</xref>


When I run the conversion I end up with HTML like:

<a class="xref" 
href="file:/C:/mosaic/documentation_DITA/Product/mosaic/attachments/Dates.moform">Dates.moform


I've tried adding -r attachments and -r ..\attachments to the command line but 
the attachments folder contents are not copied across and the html href is the 
same.

ditac -format webhelp -resources attachments -images images -p 
xsl-resources-directory resources  -t 
"C:\mosaic\documentation_DITA\Common\webhelp_custom.xsl"  
C:\mosaic\documentation_DITA\out\ConfiguringYourmosaicSite\_.html 
C:\mosaic\documentation_DITA\Product\mosaic\bm_configyoursite.ditamap

I suspect I'm going about this the wrong way.

I haven't tried, but it might work if I put the attachments in the images 
folder and change the xrefs in the topics. But that seems like a hack.

Can you suggest how I should go about this?

Thanks

Mike


Mike Dodds
Corelogic Limited
www.corelogic.co.uk<http://www.corelogic.co.uk/>

Tel: 0131 550 0449
Skype: mike.dodds.corelogic

--
XMLmind DITA Converter Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/ditac-support

Reply via email to