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=16222>.
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=16222

xsl:value-of select="." inside for-each loop fails to extract the value of current node

           Summary: xsl:value-of select="." inside for-each loop fails to
                    extract the value of current node
           Product: XalanJ2
           Version: CurrentCVS
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: org.apache.xalan
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
                CC: [EMAIL PROTECTED]


When I run xml-xalan/java/samples/Trace/Trace.java with foo.xml and foo.xsl 
from the same source, <th><xsl:value-of select="."/></th> (line#26 in foo.xsl) 
fails to extract the value of the current node. I also tried copy-of 
select=".", it fails too. But <xsl:variable name="temp" select="."/> <xsl:value-
of select="$temp"/> works fine. 

Acknowledgement: When I first noticed this, I was not sure whether this is a 
bug as I am new to Xalan J2. My co-worker Morris Kwan ([EMAIL PROTECTED]) 
identified this for me.

Reply via email to