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] reverse and forward order


Subject: Re: [xsl] reverse and forward order
From: Andrew Watt <andrew@xxxxxxxxxxxxxx>
Date: Fri, 11 Apr 2003 21:09:25 +0100

At 15:57 11/04/2003 +0100, David Carlisle wrote:
whereas
(ancestor::*)[1] gives you your first ancestor in document order, ie
                your most ancient ancestor; Adam (or Eve) in some
               cultures.

David,


Not quite, I think.

The (ancestor::*)[1] gives you the first ancestor in document order that is of the principal node type of the ancestor axis i.e. an element node. But it doesn't actually give the first ancestor in document order, which is the root node.

At least that's my $0.02.

Andrew Watt



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



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