This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: I mean self::* doesn't select attributes :(
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] I mean self::* doesn't select attributes :(
- From: David Carlisle <davidc at nag dot co dot uk>
- Date: Wed, 25 Apr 2001 20:14:16 +0100
- References: <200104251859.LAA02305@dragon.flightlab.com>
- Reply-To: xsl-list at lists dot mulberrytech dot com
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