1 <?xml version='1.0'?>
   2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
   3   <!-- FileName: StreamImpIncl.xsl -->
   4   <!-- Author: shane_curcuru@lotus.com -->
   5   <!-- Purpose: Basic import and include tests for StreamSource APIs. -->
   6 
   7 <xsl:import href="impincl/SimpleImport.xsl"/>
   8 <xsl:include href="impincl/SimpleInclude.xsl"/>
   9 
  10 <xsl:template match="doc">
  11  <out>
  12   <xsl:apply-templates/>
  13  </out>
  14 </xsl:template>
  15 
  16 <xsl:template match="list" priority="-1">
  17  <main-list>
  18   <xsl:apply-templates/>
  19  </main-list>
  20 </xsl:template>
  21 
  22 <xsl:template match="item[not(@match-by)]">
  23   <matched-by-main>
  24     <xsl:value-of select="." />
  25   </matched-by-main>
  26 </xsl:template>
  27 
  28 </xsl:stylesheet>