Read out values and show them in the console

Post here questions and problems related to editing and publishing DITA content.
ckabstein
Posts: 152
Joined: Fri Apr 24, 2015 12:28 pm

Read out values and show them in the console

Post by ckabstein »

Hi,

Is there a way to read out values and show them in the Oxygen XML console? We're trying to find out why some XPath functions do not do what they should do, and I suspect that the function may need to be called elsewhere.

For example, for our customized PDF transformation, we would like to find out why a TOC level is still counted to the number of levels even though we added a function that should exclude it. Now we want to know what the transformation actually uses and how it interpretes the levels.
The good thing is that the transformation is not broken.

I hope there is a way.

Thanks,
Chris
oXygen XML Editor 27.1 build 2025041508
DITA OT 3.7.4
Radu
Posts: 9446
Joined: Fri Jul 09, 2004 5:18 pm

Re: Read out values and show them in the console

Post by Radu »

Hi Chris,

In the Oxygen Preferences->DITA page you can decide to always show the console output (there is a radio button there).
Then in the XSLT code you can use xsl:messages and in the ANT build files you can use <echo>s and all this logging will be shown in the DITA OT console view.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
ckabstein
Posts: 152
Joined: Fri Apr 24, 2015 12:28 pm

Re: Read out values and show them in the console

Post by ckabstein »

Thanks, Radu!

xsl:message was exactly what I needed.

Best rgds,
Chris
oXygen XML Editor 27.1 build 2025041508
DITA OT 3.7.4
Post Reply