Simplified XPath syntax in cc_config.xml
Posted: Wed Jan 17, 2024 3:35 am
Hello,
I have a couple of questions regarding the simplified XPath syntax available in cc-config.xml, referenced here:
https://www.oxygenxml.com/doc/versions/ ... completion
We're trying to add constraints to the lists of available elements at the insertion point in Web Author v23.1.
Thanks a lot for any info....
Doug
=======================================================
Doug Burgess
Learning System Applications Engineering
SAP Learning
SAP Canada, 910 Mainland St., Vancouver, BC, Canada, V6B 1A9
doug.burgess@sap.com
I have a couple of questions regarding the simplified XPath syntax available in cc-config.xml, referenced here:
https://www.oxygenxml.com/doc/versions/ ... completion
We're trying to add constraints to the lists of available elements at the insertion point in Web Author v23.1.
- Does the syntax support any XPath functions not explicitly mentioned in the Help topic? We're using our own DITA specialization and it would be helpful if we could use DITA-style class references, e.g. *[contains(@class, ' topic/topic ')]
- I see that the simplified expressions can begin with the '//' all descendants operator. Is it possible to use that as a path step, e.g. conbody//duration?
Thanks a lot for any info....
Doug
=======================================================
Doug Burgess
Learning System Applications Engineering
SAP Learning
SAP Canada, 910 Mainland St., Vancouver, BC, Canada, V6B 1A9
doug.burgess@sap.com