XSLT Xpath schema aware in framework action

NicoAMP
Posts: 44
Joined: Tue Mar 06, 2018 2:07 pm
Contact:

XSLT Xpath schema aware in framework action

Post by NicoAMP » Thu Jul 16, 2020 4:03 pm

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.

Radu
Posts: 7019
Joined: Fri Jul 09, 2004 5:18 pm

Re: XSLT Xpath schema aware in framework action

Post by Radu » Fri Jul 17, 2020 8:12 am

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

Post Reply