Bug fixes and cleanups
[sfa.git] / sfatables / processors / restrict_to_nodes.xsl
index 2ecba22..492e383 100644 (file)
@@ -9,8 +9,8 @@
         </xsl:copy>
     </xsl:template>
 
-    <xsl:variable name="whitelist_prefix" select="//rspec//rule/argument[name='whitelist']/value"/>
-    <xsl:variable name="blacklist_prefix" select="//rspec//rule/argument[name='blacklist']/value"/>
+    <xsl:variable name="whitelist_prefix" select="//rspec//rule-context/argument[name='whitelist']/value"/>
+    <xsl:variable name="blacklist_prefix" select="//rspec//rule-context/argument[name='blacklist']/value"/>
 
     <!-- Drop nodes that are not in the whitelist -->
     <xsl:template match="node">
@@ -22,5 +22,5 @@
             </xsl:choose>
     </xsl:template>
 
-    <xsl:template match="sfatables-input"/>
 </xsl:stylesheet>
+et>