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.
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--