home *** CD-ROM | disk | FTP | other *** search
/ Programmer Plus 2007 / Programmer-Plus-2007.iso / Programming / XML Utilities / Professional Programmer XSL IDE / Xselerator25.msi / Data.Cab / F42826_testElimError.xsl < prev    next >
Encoding:
Extensible Markup Language  |  2002-02-06  |  800 b   |  25 lines

  1. <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  2. >
  3.   <xsl:import href="elimError.xsl"/>
  4.   
  5.   <!-- To be applied on diff-results.xml. 
  6.        This improves the list of derivatives of
  7.        x^2 for x = 6
  8.    -->
  9.   
  10.   <xsl:output indent="yes" omit-xml-declaration="yes"/>
  11.   <xsl:template match="/">
  12.      <xsl:variable name="vList" select="/*/*"/>
  13.      
  14.      <xsl:variable name="vOrder">
  15.         <xsl:call-template name="getOrder">
  16.           <xsl:with-param name="pList" select="$vList"/>
  17.         </xsl:call-template>
  18.      </xsl:variable>
  19.      
  20.      <xsl:call-template name="elimError">
  21.          <xsl:with-param name="pList" select="$vList"/>
  22.          <xsl:with-param name="pOrder" select="$vOrder"/>
  23.      </xsl:call-template>
  24.   </xsl:template>
  25. </xsl:stylesheet>