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 2001/12/19 21:51:21 UTC

cvs commit: xml-xalan/test/tests/conf/attribset attribset48.xsl attribset47.xsl attribset48.xml attribset47.xml

dmarston    01/12/19 12:51:21

  Added:       test/tests/conf/attribset attribset48.xsl attribset47.xsl
                        attribset48.xml attribset47.xml
  Log:
  More coverage of qualified names for objects
  
  Revision  Changes    Path
  1.1                  xml-xalan/test/tests/conf/attribset/attribset48.xsl
  
  Index: attribset48.xsl
  ===================================================================
  <?xml version="1.0"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
      version="1.0"
      xmlns:ap="attribco.com"
      xmlns:as="attribco.com"
      exclude-result-prefixes="ap as">
  
    <!-- FileName: attribset47 -->
    <!-- Document: http://www.w3.org/TR/xslt -->
    <!-- DocVersion: 19991116 -->
    <!-- Section: 7.1.4 Named Attribute Sets -->
    <!-- Creator: David Marston -->
    <!-- Purpose: Test attribute set with a qualified name, different prefix. -->
  
  <xsl:output method="xml" encoding="UTF-8"/>
  
  <xsl:attribute-set name="ap:set">
    <xsl:attribute name="color">black</xsl:attribute>
  </xsl:attribute-set>
  
  <xsl:template match="/">
    <out>
      <test1 xsl:use-attribute-sets="as:set"></test1>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  1.1                  xml-xalan/test/tests/conf/attribset/attribset47.xsl
  
  Index: attribset47.xsl
  ===================================================================
  <?xml version="1.0"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
      version="1.0"
      xmlns:ap="attribco.com"
      exclude-result-prefixes="ap">
  
    <!-- FileName: attribset47 -->
    <!-- Document: http://www.w3.org/TR/xslt -->
    <!-- DocVersion: 19991116 -->
    <!-- Section: 7.1.4 Named Attribute Sets -->
    <!-- Creator: David Marston -->
    <!-- Purpose: Test attribute set with a qualified name. -->
  
  <xsl:output method="xml" encoding="UTF-8"/>
  
  <xsl:attribute-set name="ap:set">
    <xsl:attribute name="color">black</xsl:attribute>
  </xsl:attribute-set>
  
  <xsl:template match="/">
    <out>
      <test1 xsl:use-attribute-sets="ap:set"></test1>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  1.1                  xml-xalan/test/tests/conf/attribset/attribset48.xml
  
  Index: attribset48.xml
  ===================================================================
  <?xml version="1.0"?>
  <doc></doc>
  
  
  1.1                  xml-xalan/test/tests/conf/attribset/attribset47.xml
  
  Index: attribset47.xml
  ===================================================================
  <?xml version="1.0"?>
  <doc></doc>
  
  

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