Page 1 of 1

XSLT Xpath schema aware in framework action

Posted: Thu Jul 16, 2020 4:03 pm
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.

Re: XSLT Xpath schema aware in framework action

Posted: Fri Jul 17, 2020 8:12 am
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

Re: XSLT Xpath schema aware in framework action

Posted: Fri Nov 20, 2020 12:23 pm
by Radu
Hi,

We released Oxygen 23 which should have this problem fixed.

Regards,
Radu