Page 1 of 1

<ph/> not applicable in <filepath>?

Posted: Wed Aug 31, 2022 1:04 pm
by im_rem
Hello,
I cannot insert a <ph keyref=".."> element within a <filepath> element. But I can insert something like <wintitle keyref="..">, which looks awkward in the output.
I tried to find details on this in the DITA specification but could not find anything. Do you know if this is an issue in the current DITA standard or in the content-check-function of OxygenXML?

Re: <ph/> not applicable in <filepath>?

Posted: Wed Aug 31, 2022 1:51 pm
by Radu
Hi,
Oxygen validates the DITA topic according to the DITA 1.3 DTDs (the DITA specification) which do not see to allow "ph" inside "filepath":
https://www.oxygenxml.com/dita/1.3/spec ... __filepath
I do not know why the DITA specification committee did not allow for this in the DITA specification, maybe it was an unwanted mistake.

Regards,
Radu

Re: <ph/> not applicable in <filepath>?

Posted: Wed Aug 31, 2022 2:19 pm
by im_rem
So I did miss the correct page.
Then I will use <keyword keyref="..."> instead when I want to insert a variable in a filepath. This seems to render fine in the output.
Thank you very much!