|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] can you select name() of attributes?
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








