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 / F43036_testImprove.xsl < prev    next >
Encoding:
Extensible Markup Language  |  2002-02-06  |  1.4 KB  |  46 lines

  1. <xsl:stylesheet version="1.0" 
  2. xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  3. xmlns:xalan="http://xml.apache.org/xalan"
  4. >
  5.   <xsl:import href="improve.xsl"/> 
  6.  
  7.   <!-- To be applied on fiff-results.xml -->
  8.  
  9.   <xsl:output indent="yes" omit-xml-declaration="yes"/>
  10.   
  11.   <xsl:template match="/">
  12.   
  13.       <xsl:variable name="vrtfI1">
  14.         <xsl:call-template name="improve">
  15.           <xsl:with-param name="pList" select="/*/*[position() > 1]"/>
  16.         </xsl:call-template>
  17.     </xsl:variable>
  18.     Improve 1:
  19.     <xsl:copy-of select="xalan:nodeset($vrtfI1)/*"/>
  20.     <xsl:variable name="vrtfI2">
  21.         <xsl:call-template name="improve">
  22.           <xsl:with-param name="pList" select="xalan:nodeset($vrtfI1)/*"/>
  23.         </xsl:call-template>
  24.     </xsl:variable>
  25.     Improve 2:
  26.     <xsl:copy-of select="xalan:nodeset($vrtfI2)/*"/>
  27.  
  28.     <xsl:variable name="vrtfI3">
  29.         <xsl:call-template name="improve">
  30.           <xsl:with-param name="pList" select="xalan:nodeset($vrtfI2)/*"/>
  31.         </xsl:call-template>
  32.     </xsl:variable>
  33.     Improve 3:
  34.     <xsl:copy-of select="xalan:nodeset($vrtfI3)/*"/>
  35.  
  36.     <xsl:variable name="vrtfI4">
  37.         <xsl:call-template name="improve">
  38.           <xsl:with-param name="pList" select="xalan:nodeset($vrtfI3)/*"/>
  39.         </xsl:call-template>
  40.     </xsl:variable>
  41.     Improve 4:
  42.     <xsl:copy-of select="xalan:nodeset($vrtfI4)/*"/>
  43.  
  44.   </xsl:template>
  45.  
  46. </xsl:stylesheet>