Re: [xsl] I mean self::* doesn't select attributes :(

Subject: Re: [xsl] I mean self::* doesn't select attributes :(
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 25 Apr 2001 20:14:16 +0100
   X-VirusChecked: Checked
   Date: Wed, 25 Apr 2001 11:59:31 -0700
   From: Joe English <jenglish@xxxxxxxxxxxxx>
   Sender: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
   Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
   X-MailLoop: 1
   Content-Type: text
   Content-Length: 519


   I wrote:
   > 
   > Wouldn't 
   >     attribute::xyz:foo
   > work?

   Ah, now I see the problem - that works in a "match" context,
   but not in a "test" or "select" context.

well it does work in a select context, 
<xsl:copy-of select="attribute::xyz:foo"/>
is legal, it is just not always what you want.

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet delivered
through the MessageLabs Virus Control Centre. For further information visit
http://www.star.net.uk/stats.asp

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


Current Thread