Subject: RE: Questions regarding match
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Fri, 1 Sep 2006 13:36:46 +0100
|
> fields[field[contains(@id,'Metadata')] and
field[contains(@id,'.subject.')]]
Or if you're one of those people with an aversion to nested square brackets,
you can write this as
fields[contains(field/@id, 'Metadata') and contains(field/@id, 'subject.')]
I wonder also if you're using contains() where you really want to test for
"=" - it's a common mistake.
Michael Kay
http://www.saxonica.com/
|