Added element support to the main sfatables file
[sfa.git] / sfatables / matches / hrn.xml
index 6da2e70..14bc26e 100644 (file)
@@ -7,13 +7,13 @@ For this simple match, we just need to look at sfa-input.
 
 <match name="hrn">
     <!-- Empty context. We _always_ get the hrn of the current user -->
+    <rule element='*'>
     <context select="//sfa/current/user@hrn"/>
-    <rule>
         <argument>
             <name>user-hrn</name>
             <help>HRN of the user requesting resouces</help>
             <operand>HRN</operand>
         </argument>
-    </rule>
     <processor filename="hrn.xsl"/>
+    </rule>
 </match>