Path to file with well-formed XHTML content

Posts: 1

Path to file with well-formed XHTML content

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: 243

Re: Path to file with well-formed XHTML content

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

Return to “DITA (Editing and Publishing DITA Content)”

Who is online

Users browsing this forum: No registered users and 1 guest