Page 1 of 1

Path to file with well-formed XHTML content

Posted: Tue Oct 30, 2018 11:03 am
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

Re: Path to file with well-formed XHTML content

Posted: Wed Oct 31, 2018 4:23 pm
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