Re: [xsl] Selection help

Subject: Re: [xsl] Selection help
From: "David Carlisle d.p.carlisle@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 30 Nov 2015 22:25:36 -0000
On 30 November 2015 at 22:22, Syd Bauman s.bauman@xxxxxxx
<xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:
> Ack! Sorry, I changed the wrong equality operator. Change
>
>   select="column[@name eq current()/constraint[@type='FOREIGN']/childKey/@name]"
>
> to
>   select="column[@name = current()/constraint[@type eq 'FOREIGN']/childKey/@name]"
>
> (To oversimplify, the "eq" operator compares singletons; the "="
> operator compares sequences.)

but 'FOREIGN' is a singleton and @type is a sequence of at most 1, so
it makes no difference here does it?

David

Current Thread