a little nicer wrt pep8
[sfa.git] / sfatables / matches / hrn.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="hrn">
9     <!-- Empty context. We _always_ get the hrn of the current user -->
10     <rule element='*'>
11     <context select="//sfa/current/user@hrn"/>
12         <argument>
13             <name>user-hrn</name>
14             <help>HRN of the user requesting resouces</help>
15             <operand>HRN</operand>
16         </argument>
17     <processor filename="hrn.xsl"/>
18     </rule>
19 </match>