a little nicer wrt pep8
[sfa.git] / sfatables / matches / slice-whitelist.xml
index 91820ff..ad3c840 100644 (file)
@@ -1,4 +1,7 @@
 <match name="slice-whitelist">
-    <context select="//sfa/current/slice@hrn"/>
-    <processor filename="slice-whitelist.xsl"/>
+    <!-- Empty context. We _always_ get the hrn of the current user -->
+    <rule element='*'>
+      <context select="//sfa/current/slice@hrn"/>
+      <processor filename="slice-whitelist.xsl"/>
+    </rule>
 </match>