We need post processing after every rule, then a final postprocessing step once all...
authorSapan Bhatia <sapanb@cs.princeton.edu>
Mon, 26 Oct 2009 14:26:20 +0000 (14:26 +0000)
committerSapan Bhatia <sapanb@cs.princeton.edu>
Mon, 26 Oct 2009 14:26:20 +0000 (14:26 +0000)
sfatables/processors/__sfatables_rule_wrap_up__.xsl [new file with mode: 0644]
sfatables/processors/__sfatables_wrap_up__.xsl

diff --git a/sfatables/processors/__sfatables_rule_wrap_up__.xsl b/sfatables/processors/__sfatables_rule_wrap_up__.xsl
new file mode 100644 (file)
index 0000000..fe46180
--- /dev/null
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!-- 
+    This processor is called at the end, to remove sfatables-specific tags.
+-->
+
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+        <xsl:template match="@* | node()">
+        <xsl:copy>
+            <xsl:apply-templates select="@* | node()"/>
+        </xsl:copy>
+    </xsl:template>
+
+    <xsl:template match="rule-context"/>
+</xsl:stylesheet>
index bee5697..3b73dc3 100644 (file)
@@ -11,5 +11,4 @@
     </xsl:template>
 
     <xsl:template match="request-context"/>
-    <xsl:template match="rule-context"/>
 </xsl:stylesheet>