oxygen 11.2 , framework configuration for xpath not working
Posted: Thu Mar 18, 2010 10:14 pm
hi i have following xml
in framework configuration, we have custom framework. inside that we have custom frame work action. and we want this action to execute only if the article-id NOT starts with 'R'
i am trying to do configuration
option, preference, "customframework"(doubleclick), Author Tab, Actions, "selected the action"
then inside that i have following xpath expression
substring(normalize-space(//article-id/text()),1,1) != 'R'
once configuration is done. i tried to execute the action, the action is executing for all article-id, and dose not take the xpath into account.
i also tried
not(//article-id[starts-with (text(),'R')] )
but i could not achieve this. can you guide me?
Code: Select all
<front>
<article-meta>
<article-id pub-id-type="IID">RT114449-01</article-id>
<title-group>
<article-title>title - here</article-title>
</title-group>
</article-meta>
</front>
i am trying to do configuration
option, preference, "customframework"(doubleclick), Author Tab, Actions, "selected the action"
then inside that i have following xpath expression
substring(normalize-space(//article-id/text()),1,1) != 'R'
once configuration is done. i tried to execute the action, the action is executing for all article-id, and dose not take the xpath into account.
i also tried
not(//article-id[starts-with (text(),'R')] )
but i could not achieve this. can you guide me?