a little nicer wrt pep8
[sfa.git] / sfatables / matches / slice.xml
1 <!-- 
2 "context" specifies the subset of the requestor context that this match needs to see. It is specified as an xpath expression.
3 For this simple match, we just need to look at sfa-input. 
4
5 "rule" specifies a set of arguments that the match accepts.
6 -->
7
8 <match name="slice">
9     <!-- Empty context. We _always_ get the hrn of the current user -->
10     <rule element='*'>
11     <context select="//sfa/current/slice@hrn"/>
12         <argument>
13             <name>hrn</name>
14             <help>HRN of the slice requesting resources</help>
15             <operand>HRN</operand>
16         </argument>
17     <processor filename="slice-hrn.xsl"/>
18     </rule>
19 </match>