[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] Complex condition


Subject: RE: [xsl] Complex condition
From: "Bradley, Peter" <pbradley@xxxxxxxxxx>
Date: Wed, 1 Oct 2008 12:04:47 +0100

Ah!  That's a good start.  I'll give that a go.

Thanks


Peter


-----Original Message-----
From: David Carlisle [mailto:davidc@xxxxxxxxx]
Sent: 01 October 2008 12:01
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [xsl] Complex condition


[s0:COURSEID = ./s0:COURSEID]

./ in xpath is a no-op so this is the same as [true()] which isn't what
you want.

Probably you want

[s0:COURSEID = current()/s0:COURSEID]


David

________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs.
________________________________________________________________________


Current Thread
Keywords