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: [EMAIL PROTECTED] -->
    <!-- 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="[EMAIL PROTECTED]'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: [EMAIL PROTECTED] -->
    <!-- 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="[EMAIL PROTECTED]'include']">
    <matched-by-include>
      <xsl:value-of select="." />
    </matched-by-include>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  

Reply via email to