dmarston 01/10/04 15:18:34 Added: test/tests/conf/axes axes119.xsl axes119.xml Log: Variation on the XPath, because someone thought this might expose a bug that our usual approach doesn't catch. Revision Changes Path 1.1 xml-xalan/test/tests/conf/axes/axes119.xsl Index: axes119.xsl =================================================================== <?xml version="1.0"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <!-- FileName: axes119 --> <!-- Document: http://www.w3.org/TR/xpath --> <!-- DocVersion: 19991116 --> <!-- Section: 2.2 --> <!-- Creator: David Marston --> <!-- Purpose: Try 'ancestor-or-self::*' after walking down to it. --> <xsl:template match="/"> <out> <xsl:apply-templates select="/far-north/north/near-north/center/ancestor-or-self::*"/> </out> </xsl:template> <xsl:template match="*"> <xsl:value-of select="name(.)"/><xsl:text> </xsl:text> </xsl:template> </xsl:stylesheet> 1.1 xml-xalan/test/tests/conf/axes/axes119.xml Index: axes119.xml =================================================================== <?xml version="1.0"?> <far-north> <north> <near-north> <far-west/> <west/> <near-west/> <center> <near-south> <south> <far-south/> </south> </near-south> </center> <near-east/> <east/> <far-east/> </near-north> </north> </far-north>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
