> > 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]"
>
> but 'FOREIGN' is a singleton and @type is a sequence of at most 1,
> so it makes no difference here does it?
Yup, the comparison of "@type" to "'FOREIGN'" can be done with either
'eq or '='. It is the comparison of "@name" to ".../childKey/@name"
that has to be '=', because (I'm presuming) there may be more than
one ../constraint/childKey that has an @name.
|