DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2650>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2650 Namespace axis resolution is not XPath compliant [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|Other |Low ------- Additional Comments From [EMAIL PROTECTED] 2001-10-03 08:53 ------- Here's a test case, fleshed out from Gregor' example: <?xml version="1.0"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns:a="name-a"> <!-- FileName: axes118 --> <!-- Document: http://www.w3.org/TR/xpath --> <!-- DocVersion: 19991116 --> <!-- Section: 2.2 Axes--> <!-- Creator: Gregor karlinger, adapted by David Marston --> <!-- Purpose: Check that namespace nodes exist separately on each element. --> <xsl:template match="/"> <out> <xsl:text>
</xsl:text> <xsl:apply-templates/> </out> </xsl:template> <xsl:template match="a:root"> <xsl:for-each select="./child::*/namespace::*"> <xsl:sort select="name(.)"/> <xsl:element name="{name(.)}"><xsl:value-of select="."/></xsl:element><xsl:text>,
</xsl:text> </xsl:for-each> </xsl:template> <xsl:template match="text()"/><!-- To suppress empty lines --> </xsl:stylesheet> ====== Above is stylesheet; below is input data ====== <?xml version="1.0"?> <a:root xmlns:a="name-a"> <b:sub xmlns:b="name-b"/> <c:sub xmlns:c="name-c"/> </a:root>
