This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Retrieving named elements from separate tree
- From: STEPHEN_R_FRIEDLAND at fleet dot com
- To: xsl-list at lists dot mulberrytech dot com
- Date: Tue, 19 Mar 2002 16:41:58 -0500
- Subject: RE: [xsl] Retrieving named elements from separate tree
- Reply-to: xsl-list at lists dot mulberrytech dot com
I was hoping it was something simple like this. It works
great, thanks!
-Steve
-----Original Message-----
[@colname=name()] is true for all nodes, where the value of @colname is the
same as the name:
<nodename colname="nodename"/>. name() in the predicate means the node
outside the predicate. What you want to have: [@colname=name(current())].
Regards,
Joerg
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list