dmarston    01/06/05 13:08:51

  Modified:    test/tests/conf/node node17.xsl
  Log:
  We can't guarantee the order of the namespace nodes, so set up for an 
order-neutralizing comparison of the output.
  
  Revision  Changes    Path
  1.4       +5 -10     xml-xalan/test/tests/conf/node/node17.xsl
  
  Index: node17.xsl
  ===================================================================
  RCS file: /home/cvs/xml-xalan/test/tests/conf/node/node17.xsl,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- node17.xsl        2001/01/31 22:38:29     1.3
  +++ node17.xsl        2001/06/05 20:08:51     1.4
  @@ -8,17 +8,12 @@
     <!-- Creator: David Marston -->
     <!-- Purpose: Test that 'namespace::node()' selects all namespaces. -->
   
  -<xsl:template match="/">
  -  <out>
  -    <xsl:apply-templates/>
  -  </out>
  -</xsl:template>
  -
   <xsl:template match="doc">
  -  <xsl:for-each select="namespace::node()">
  -    <xsl:text>&#010;</xsl:text>
  -    <xsl:element name="{name(.)}"><xsl:value-of select="."/></xsl:element>
  -  </xsl:for-each>
  +  <xsl:element name="NSlist">
  +    <xsl:for-each select="namespace::node()">
  +      <xsl:attribute name="{name(.)}"><xsl:value-of select="."/></xsl:attribute>
  +    </xsl:for-each>
  +  </xsl:element>
   </xsl:template>
   
   </xsl:stylesheet>
  
  
  

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

Reply via email to