DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=27123>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=27123 Can't access attributes by name from a nodeset() ------- Additional Comments From [EMAIL PROTECTED] 2004-03-16 16:29 ------- Element names cannot be used in a node test either. For example, <value-of select="count(xalan:nodeset($myNodeset)//myElement)"/> will always return zero. There is a workaround that should help in a lot of cases: use a filter instead of a node test. <value-of select="count(xalan:nodeset($myNodeset)//*[name()='myElement'])"/> or, for attributes: <value-of select="count(xalan:nodeset($myNodeset)//@*[name()='myAttr'])"/>
