You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by cu...@locus.apache.org on 2000/11/29 16:28:58 UTC

cvs commit: xml-xalan/test/tests/api/trax/dom/impincl SimpleImport.xsl SimpleInclude.xsl

curcuru     00/11/29 07:28:57

  Added:       test/tests/api/trax/dom/impincl SimpleImport.xsl
                        SimpleInclude.xsl
  Log:
  New DOM stylesheets for import/include/systemId testing,
  Sorry for multiple commits!
  
  Revision  Changes    Path
  1.1                  xml-xalan/test/tests/api/trax/dom/impincl/SimpleImport.xsl
  
  Index: SimpleImport.xsl
  ===================================================================
  <?xml version='1.0'?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
    <!-- FileName: SimpleImport.xsl -->
    <!-- Author: shane_curcuru@lotus.com -->
    <!-- Purpose: Basic import and include tests for StreamSource APIs. -->
  
  <xsl:template match="list">
    <import-list>
      <xsl:apply-templates/>
    </import-list>
  </xsl:template>
  
  <xsl:template match="item[@match-by='import']">
    <matched-by-import>
      <xsl:value-of select="." />
    </matched-by-import>
  </xsl:template>
  
  <xsl:template match="item">
    <matched-by-import-also>
      <xsl:value-of select="." />
    </matched-by-import-also>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/api/trax/dom/impincl/SimpleInclude.xsl
  
  Index: SimpleInclude.xsl
  ===================================================================
  <?xml version='1.0'?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
    <!-- FileName: SimpleInclude.xsl -->
    <!-- Author: shane_curcuru@lotus.com -->
    <!-- Purpose: Basic import and include tests for StreamSource APIs. -->
  
  <xsl:template match="list">
    <include-list>
      <xsl:apply-imports/>
    </include-list>
  </xsl:template>
  
  <xsl:template match="item[@match-by='include']">
    <matched-by-include>
      <xsl:value-of select="." />
    </matched-by-include>
  </xsl:template>
  
  </xsl:stylesheet>