Subject: RE: Questions regarding match
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Fri, 1 Sep 2006 14:23:52 +0100
|
Sorry, yes: I thought he really did mean "=", and then changed it back to
contains() because I wasn't sure...
Michael Kay
> -----Original Message-----
> From: David Carlisle [mailto:davidc@xxxxxxxxx]
> Sent: 01 September 2006 13:54
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Re: Questions regarding match
>
>
> > you can write this as
>
> > fields[contains(field/@id, 'Metadata') and contains(field/@id,
> > 'subject.')]
>
> 'cept there's more than one field so this version would only
> test the first field in xslt1 and generate an error in xslt2.
>
> David
|