xsl-list
[Top] [All Lists]

Re: Outer Loop and Inner Loop

2003-05-02 09:30:21
... getting desperate...
Here is an attempt to select an attribute who's name is "email":
<xsl:value-of select="$outerCurrent/@*['email']"/>

This almost seems to work, and I feel that I'm close... but here the problem
is that it always returns the value from the first attribute in the tree of
attributes.
Example XML:

<rs:data>
  <z:row usr_memberID="1" usr_UID="test" USR_PWD="test" fname="Karl"
lname="Stubs" email="karl(_at_)stubs(_dot_)com" email2="" email3="" 
phone_home=""
phone_cell="" phone_fax="" phone_other="" address1="" address2="" city=""
state="" zip="" notes="" />
  </rs:data>


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>