tests/decl/override/override-misc-002.xsl
changeset 1045 6d51333a8d63
parent 840 e80670ae04c0
equal deleted inserted replaced
1044:585bbb774c33 1045:6d51333a8d63
    16     <!-- Cannot override an accumulator -->
    16     <!-- Cannot override an accumulator -->
    17   
    17   
    18     <xsl:override>
    18     <xsl:override>
    19   
    19   
    20       <xsl:accumulator name="ac" initial-value="17">
    20       <xsl:accumulator name="ac" initial-value="17">
    21         <xsl:accumulator-rule match="x" new-value="$value * 2"/>
    21         <xsl:accumulator-rule match="x" select="$value * 2"/>
    22       </xsl:accumulator>
    22       </xsl:accumulator>
    23       
    23       
    24     </xsl:override>  
    24     </xsl:override>  
    25     
    25     
    26   </xsl:use-package>
    26   </xsl:use-package>