garyp       01/07/24 23:24:00

  Added:       test/tests/contrib/garypeskin namespace99.xsl
                        namespace99.xml namespace99.out
  Log:
  Test for situation where an attribute with a namespace precedes the first 
text node.
  
  Revision  Changes    Path
  1.1                  xml-xalan/test/tests/contrib/garypeskin/namespace99.xsl
  
  Index: namespace99.xsl
  ===================================================================
  <?xml version="1.0"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: namespace99 -->
    <!-- Document: http://www.w3.org/TR/xslt -->
    <!-- DocVersion: 19991116 -->
    <!-- Section: 7.5 Copying -->
    <!-- Creator: <[EMAIL PROTECTED]> -->
    <!-- Purpose: Use prefixed attributes with no preceding text nodes. -->
  
    <xsl:template match="@*|node()">
      <xsl:copy>
        <xsl:apply-templates select="@*|node()"/>
      </xsl:copy>
    </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/contrib/garypeskin/namespace99.xml
  
  Index: namespace99.xml
  ===================================================================
  <?xml version="1.0" encoding="US-ASCII"?>
  <OUTLINE xmlns:xlink="http://www.w3.org/1999/xlink";><NODE type="book" 
  xlink:href="hello.htm" xlink:type="simple"><LABEL>Hello, world!
  </LABEL></NODE></OUTLINE>
  
  
  
  1.1                  xml-xalan/test/tests/contrib/garypeskin/namespace99.out
  
  Index: namespace99.out
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
  <OUTLINE xmlns:xlink="http://www.w3.org/1999/xlink";><NODE type="book" 
xlink:href
  ="hello.htm" xlink:type="simple"><LABEL>Hello, world!
  </LABEL></NODE></OUTLINE>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to