xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Outer Loop and Inner Loop


Subject: Re: [xsl] Outer Loop and Inner Loop
From: "Karl J. Stubsjoen" <karl@xxxxxxxxxxxxx>
Date: Fri, 2 May 2003 09:30:21 -0700

... 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
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor