Now I want to modify this so that I refer to the preceding item
element, the first one in the list. I tried the following without
success (it returns the second item element):
//preceding::item[label = 'subTitle']
Suggestions are most welcome on this.
Perhaps you are looking for:
//item[label = 'subTitle']/preceding::item[1]
Cheers,
Geert
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--