Path to file with well-formed XHTML content

Posts: 1
Joined: Tue Oct 30, 2018 10:49 am

Path to file with well-formed XHTML content

Post by tanja » Tue Oct 30, 2018 11:03 am

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

Posts: 255
Joined: Mon Dec 05, 2011 6:08 pm

Re: Path to file with well-formed XHTML content

Post by ionela » Wed Oct 31, 2018 4:23 pm


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

Ionela Istodor
oXygen XML Editor and Author Support

Post Reply