XPath
Posted: Thu Dec 05, 2013 7:36 pm
Hello everyone
I have a question relative to the namespaces and the xpath-editor within oxygen. It appears that oxygen can not execute my xpath on attibutes of different namespaces:
Examples:
<title xmlns:aid="http://ns.adobe.com/AdobeInDesign/4.0/" id="topic_t3j_v35_nl" aid:pstyle="title1">1 My Title</title>
<p xmlns:aid="http://ns.adobe.com/AdobeInDesign/4.0/" aid:pstyle="any_format"><li>List entry 1</li></p>
XPatch Expressions:
//@id : results as expected
//@aid: Error information: XPath doesn't return any results..
How i can achieve that i can equally run my xpath on any sort of attributes?
Have a good evening.
Marcel
I have a question relative to the namespaces and the xpath-editor within oxygen. It appears that oxygen can not execute my xpath on attibutes of different namespaces:
Examples:
<title xmlns:aid="http://ns.adobe.com/AdobeInDesign/4.0/" id="topic_t3j_v35_nl" aid:pstyle="title1">1 My Title</title>
<p xmlns:aid="http://ns.adobe.com/AdobeInDesign/4.0/" aid:pstyle="any_format"><li>List entry 1</li></p>
XPatch Expressions:
//@id : results as expected
//@aid: Error information: XPath doesn't return any results..
How i can achieve that i can equally run my xpath on any sort of attributes?
Have a good evening.
Marcel