Rule UseOtherPathValueRule

Applies a sequence of rules to the value of some other path. It is typically used together with other branching rules, when the condition of branching is specified on one path, while the other path needs to be processed. For example, consider a record with two paths:

We want to convert public names only. Then, a branching rule may be placed on path public. This rule invokes another rule that should rename name if public=true. However, the current value is true or false, and not the name. This rule is need to get hold on the name, being invoked from public.

Constructor default

Sample use:

<ac:eu.annocultor.rules.UseOtherPathValueRule-default>
  <ac:srcPath rdf:datatype="ac:Path"></ac:srcPath>
  <ac:srcValuePath rdf:datatype="ac:Path"> property which value would be taken and fed to the rules </ac:srcValuePath>
  <ac:rule rdf:datatype="ac:Rule"> rules that would be applied to this value </ac:rule>
</ac:eu.annocultor.rules.UseOtherPathValueRule-default>