jakarta-taglibs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 31147] New: - using Node variables with JSTL XML tags
Date Thu, 09 Sep 2004 16:18:32 GMT
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=31147>.
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=31147

using Node variables with JSTL XML tags

           Summary: using Node variables with JSTL XML tags
           Product: Taglibs
           Version: 1.1.0
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Standard Taglib
        AssignedTo: taglibs-dev@jakarta.apache.org
        ReportedBy: flaviotordini@tiscali.it


hi all,
I have a org.w3c.dom.Node variable and I'm trying to use the JSTL with it.
Something like:

<x:out select="$node/@name"/>

The odd thing is that the XPath expression is evaluated relative to the document
root, not to the specified node. The following works:

<x:out select="$node/full/path/to/node/@name"/>

I'm filing this bug after a discussion on the taglibs-user mailing list:
http://www.mail-archive.com/taglibs-user@jakarta.apache.org/msg07667.html

A solution proposal is in this message:
http://www.mail-archive.com/taglibs-user@jakarta.apache.org/msg07682.html

regards,
flavio

---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-dev-help@jakarta.apache.org


Mime
View raw message