Just a note that your queries all need [@year ...
not [year..
or year needs to be a child element not an attribute.
Also do you really need the ftcontains test here?
even if current Xquery drafts contained the full text search functions, I'd have thought that you wanted string equality (=), perhaps up to some collation, eg case insensitive equality.
David
|