You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by dm...@apache.org on 2002/05/09 22:16:41 UTC

cvs commit: xml-xalan/test/tests/conf/namespace namespace08.xsl namespace08.xml

dmarston    02/05/09 13:16:41

  Added:       test/tests/conf/namespace namespace08.xsl namespace08.xml
  Log:
  The return of namespace08, better than ever.
  
  Revision  Changes    Path
  1.1                  xml-xalan/test/tests/conf/namespace/namespace08.xsl
  
  Index: namespace08.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
  
    <!-- FileName: namespace08 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19991116 -->
    <!-- Section: 4.1 Node Set Functions -->
    <!-- Creator: David Marston -->
    <!-- Purpose: Test name functions on non-namespaced attribute node. -->
  
  <xsl:output method="xml" indent="no" encoding="UTF-8"/>
  
  <xsl:template match="doc">
    <out>
      <xsl:text>name|</xsl:text><xsl:value-of select="name(a/@at1)"/><xsl:text>|</xsl:text>
      <xsl:text>namespace-uri|</xsl:text><xsl:value-of select="namespace-uri(a/@at1)"/><xsl:text>|</xsl:text>
      <xsl:text>local-name|</xsl:text><xsl:value-of select="local-name(a/@at1)"/><xsl:text>|</xsl:text>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  1.1                  xml-xalan/test/tests/conf/namespace/namespace08.xml
  
  Index: namespace08.xml
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
  <doc>
    <a at1="test"/>
  </doc>
  
  

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