[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Outer Loop and Inner Loop

Subject: Re: Outer Loop and Inner Loop
From: "Karl J. Stubsjoen" <karl@xxxxxxxxxxxxx>
Date: Fri, 2 May 2003 09:30:21 -0700
inner and outer loops
... 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@xxxxxxxxx" 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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.