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

can you select name() of attributes?

Subject: can you select name() of attributes?
From: "Ragulf Pickaxe" <jawxml@xxxxxxxxxxx>
Date: Tue, 27 Jul 2004 09:27:41 +0000
select name
Hi again,

In the question earlier (Mathing attributes in two different documents), I think it drops down to the following: can you select name() of attributes in a select attribute in an xsl element?

Like:
<xsl:variable name="Attr" select="$Doc/@*"/> which selects all attributes in the Doc variable (which are text values as far as I know...?)


I want something that selects all the names of the attributes. Is something like the following possible?
<xsl:variable name="Attr" select="$Doc/@*/name()"/> or
<xsl:variable name="Attr" select="$Doc/name(@*)"/>


I want to be able to use the name of the attributes in the same way as a reqular nodeset, where I can say node-A=nodeset-B which in a nodeset is true if just one node in nodeset-B is equal to node-A.

Regards,
Ragulf Pickaxe :-|

_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus


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.