Reorganized targets
[sfa.git] / sfatables / targets / RESTRICT_SLICE_DOMAIN.xml
diff --git a/sfatables/targets/RESTRICT_SLICE_DOMAIN.xml b/sfatables/targets/RESTRICT_SLICE_DOMAIN.xml
new file mode 100644 (file)
index 0000000..45f2a4b
--- /dev/null
@@ -0,0 +1,17 @@
+<target name="RESTRICT_SLICE_DOMAIN">
+    <rule element="node">
+    <!-- The context is empty, since this target does not require any input from SFA -->
+    <context select=""/>
+        <argument>
+            <name>whitelist</name>
+            <help>Prefix of nodes to whitelist for this match.</help>
+            <operand>PREFIX</operand>
+        </argument>
+        <argument>
+            <name>blacklist</name>
+            <help>Prefix of nodes to blacklist for this match.</help>
+            <operand>PREFIX</operand>
+        </argument>
+    <processor filename="restrict_to_nodes.xsl"/>
+    </rule>
+</target>