bug-fix
[sfa.git] / sfatables / targets / RESTRICT_TO_NODE_GROUP.xml
1 <target name="RESTRICT_TO_NODE_GROUP">
2     <!-- In this case, we need the list of nodes in the [white,black]-listed nodegroups. We specify these with an XPath expression.
3          The expression can have SFA variables, specified using the prefix '%' -->
4     <context select="//sfa/nodes/node[name=%whitelist]/@name" name="whitelist"/>
5     <context select="//sfa/nodes/node[name=%blacklist]/@name" name="blacklist"/>
6     <rule>
7         <argument>
8             <name>whitelist</name>
9             <help>Name of whitelisted node group</help>
10             <operand>NODE-GROUP</operand>
11         </argument>
12         <argument>
13             <name>blacklist</name>
14             <help>Name of the blacklisted node group</help>
15             <operand>NODE-GROUP</operand>
16         </argument>
17     </rule>
18     <processor filename="restrict_to_nodes.xsl"/>
19 </match>