xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

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
'in'
else
'out'

David

________________________________________________________________________
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:
http://www.star.net.uk
________________________________________________________________________


Current Thread
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor