[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: preceding sibling test

Subject: RE: preceding sibling test
From: "Sargeant, Richard (GEIS)" <Richard.Sargeant@xxxxxxxxxxx>
Date: Mon, 14 Feb 2000 12:57:10 +0100
wrong sibling testing
Hi Michael, 

>   I suspect what you meant to write was something like
>
> 	<xsl:template match="PB_ITEM">
> 	   <xsl:apply-templates
select="USER[not(.=previous::sibling::USER[1])]"/>

   I tried your suggestion but it doesn't work! I'm using Oracle's parser
and it aborts with "Axis 'previous' not found". I have also checked the
XPATH specs (16 Nov 1999) and there is no mention of previous::sibling. Am I
looking at the wrong specs ?

   For your information, all I'm doing is processing the results of a
database query and each time the 'USER" changes I need to print some header
information.

regards
Richard Sargeant


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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.