Example for Baris
authorSapan Bhatia <sapanb@cs.princeton.edu>
Fri, 14 Aug 2009 13:39:10 +0000 (13:39 +0000)
committerSapan Bhatia <sapanb@cs.princeton.edu>
Fri, 14 Aug 2009 13:39:10 +0000 (13:39 +0000)
sfatables/matches/hrn.xml [new file with mode: 0644]

diff --git a/sfatables/matches/hrn.xml b/sfatables/matches/hrn.xml
new file mode 100644 (file)
index 0000000..1200160
--- /dev/null
@@ -0,0 +1,14 @@
+<!-- 
+"sfa-input" specifies the subset of the requestor context that this match needs to see. It is specified as an xpath expression.
+For this simple match, we just need to look at sfa-input. 
+
+"rule" specifies an xpath/xquery expression that evaluates the match. In this case, we just check if the requestor's HRN is the same
+as the one matched by this rule.
+
+-->
+
+<match xmlns="http://www.planet-lab.org/sfa/sfatables/match/2009/8">
+    <sfa-input select="//sfa//user/hrn"/>
+    <rule-input select="//request//user/hrn"/>
+    <processor name="hrn.xsl"/>
+</match>