Adding a node filtering rule for legacy rspecs.
authorSapan Bhatia <sapanb@cs.princeton.edu>
Mon, 26 Oct 2009 19:04:35 +0000 (19:04 +0000)
committerSapan Bhatia <sapanb@cs.princeton.edu>
Mon, 26 Oct 2009 19:04:35 +0000 (19:04 +0000)
sfatables/targets/RESTRICT_SLICE_DOMAIN.xml

index 2fbffd9..fc637e8 100644 (file)
@@ -1,4 +1,19 @@
 <target name="RESTRICT_SLICE_DOMAIN">
+    <rule element="legacy-node">
+        <!-- The context is empty, since this target does not require any input from SFA -->
+        <context select=""/>
+        <argument>
+            <name>whitelist</name>
+            <help>Suffix of nodes to whitelist for this match.</help>
+            <operand>SUFFIX</operand>
+        </argument>
+        <argument>
+            <name>blacklist</name>
+            <help>Suffix of nodes to blacklist for this match.</help>
+            <operand>SUFFIX</operand>
+        </argument>
+        <processor filename="legacy-restrict-to-nodes.xsl"/>
+    </rule>
     <rule element="node">
         <!-- The context is empty, since this target does not require any input from SFA -->
         <context select=""/>