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...@apache.org on 2001/05/21 22:25:54 UTC

cvs commit: xml-xalan/test/tests/api/xalanj2 TraceListenerTest.xml TraceListenerTest.xsl

curcuru     01/05/21 13:25:54

  Added:       test/tests/api/xalanj2 TraceListenerTest.xml
                        TraceListenerTest.xsl
  Log:
  Stylesheet test files for TraceListenerTest
  
  Revision  Changes    Path
  1.1                  xml-xalan/test/tests/api/xalanj2/TraceListenerTest.xml
  
  Index: TraceListenerTest.xml
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
  <list>
    <item>Xalan-J 1.x</item>
    <item>Xalan-J 2.x</item>
    <item>Xalan-C 1.x</item>
    <list>
      <item>Xalan documentation</item>
      <item>Xalan tests</item>
    </list>
  </list>
  
  
  1.1                  xml-xalan/test/tests/api/xalanj2/TraceListenerTest.xsl
  
  Index: TraceListenerTest.xsl
  ===================================================================
  <?xml version="1.0"?> 
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
  
    <xsl:template match="/">
      <doc>
        <mode-none>
          <xsl:apply-templates select="item" /><!-- ElemTemplateElement[xsl:apply-templates;L7;C46;select=itemtest=item; -->
        </mode-none>
        <mode-ala>
          <xsl:apply-templates select="list" mode="ala" /><!-- selected:ElemTemplateElement[xsl:apply-templates;L10;C57;select=list -->
        </mode-ala>
      </doc>
    </xsl:template>
  
    <xsl:template match="item">
      <pie>
        <xsl:copy/>
      </pie>
    </xsl:template>
  
    <xsl:template match="list" mode="ala">
      <icecream>text-literal-chars<xsl:text>xsl-text-content</xsl:text><xsl:copy-of select="."/><!-- ElemTemplateElement[xsl:copy-of;L22;C96;select=.select=.; -->
      </icecream>
    </xsl:template>
       
  </xsl:stylesheet>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org