XSLT Xpath schema aware in framework action

Post here questions and problems related to editing and publishing DITA content.
NicoAMP
Posts: 97
Joined: Tue Mar 06, 2018 2:07 pm
Contact:

XSLT Xpath schema aware in framework action

Post by NicoAMP »

Hi,

I created a new action in a framework using ro.sync.ecss.extensions.commons.operations.XSLTOperation
This action process my current DITA file with a XSLT using the following xpath:

Code: Select all

//*[contains(@class, ' topic/title ')]
This xpath doesn't return result because @class is a default schema value.

Is it possible to make xpath in framework XSLT "aware" to the schema?

Thanks.
Nicolas Delobel
AmeXio
nicolas.delobel at group.amexio.net
Radu
Posts: 9046
Joined: Fri Jul 09, 2004 5:18 pm

Re: XSLT Xpath schema aware in framework action

Post by Radu »

Hi Nicolas,

From what I tested this workw if the XML document is DTD-based. It does not seem to work for RNG-based DITA topics. I think we can make this work as well and I added an internal issue to look into this.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Radu
Posts: 9046
Joined: Fri Jul 09, 2004 5:18 pm

Re: XSLT Xpath schema aware in framework action

Post by Radu »

Hi,

We released Oxygen 23 which should have this problem fixed.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply