xsl-list
[Top] [All Lists]

Re: [xsl] Selection help

2015-11-30 16:25:41
On 30 November 2015 at 22:22, Syd Bauman s(_dot_)bauman(_at_)neu(_dot_)edu
<xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com> 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
--~----------------------------------------------------------------
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
--~--

<Prev in Thread] Current Thread [Next in Thread>