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]

my nearest sibling


Subject: my nearest sibling
From: Sebastian Rahtz <sebastian.rahtz@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 6 Jul 1999 16:41:16 +0000 (GMT)

Any volunteers to express "go up and get my nearest older sibling"?
In this example:

 <list type="gloss"><label><gi>front</gi></label><item>contains any
 prefatory matter (headers, title page, prefaces, dedications, etc.)
 found before the start of a text proper.</item>

when processing <item>, I want to get my paws on the associated
<label>.

Is this really trivial and I am being dense? should

 "../label[position()]"

work? actually, position() never seems to do what I expect. does it
produce the sibling count?

sebastian


 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