Re: [xsl] self::x:* in XPath 2.0

Subject: Re: [xsl] self::x:* in XPath 2.0
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 13 Jul 2004 14:04:36 +0100
> How do I do this?  I can't see any way of using the self::x syntax with $e
> as I did before...

You should be able to use self:: exactly as before, your for-each loop
looks OK to me as xslt1 or 2.

If you want to use for you could do

for $e in * return
if ($e/self::x:*) then


This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:

Current Thread