This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


   X-VirusChecked: Checked
   Date: Wed, 25 Apr 2001 11:59:31 -0700
   From: Joe English <jenglish@flightlab.com>
   Sender: owner-xsl-list@lists.mulberrytech.com
   Reply-To: xsl-list@lists.mulberrytech.com
   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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]