Path to file with well-formed XHTML content

Post here questions and problems related to editing and publishing DITA content.
tanja
Posts: 39
Joined: Tue Oct 30, 2018 10:49 am

Path to file with well-formed XHTML content

Post by tanja »

Hi all,

I am currently testing the Web Help Responsive transformation with publishing templates.
When it comes to XHTML content, the guide says that I can link to a file with such content.
The examples all show a local path; for example: value="c:\myMessage.xhtml"

I want to share the templates using our version control system, so pointing to a file that resides on my personal machine does not work.
Can I also use a relative path? And if yes, relative to which root folder? I am currently not using oXygen's project functionality by the way.

Can you please advise?

Best regards, Tanja
ionela
Posts: 402
Joined: Mon Dec 05, 2011 6:08 pm

Re: Path to file with well-formed XHTML content

Post by ionela »

Hello,

You need to copy your custom HTML fragment in a folder inside publishing the template root folder.The paths should be relative to publishing template root directory.
You can find more details about this in our user-manual:
Referencing HTML fragment using Publishing Template

Regards,
Ionela
Ionela Istodor
oXygen XML Editor and Author Support
Post Reply