Hi Paolo,
Depending of course on the content of the TFATTO/COM element of course.
But if this is a text element that contains a lot of words among which FIRENZE may be alone or just one of many words, then a “NOT containsText” will reject all documents where firenze is the full or just part of the element.
Compare this to the “NOT equals” in the second query, where only documents that contain the EXACT text “FIRENZE” are rejected.
But from my point of view there would be a greater chance of elements being returned from the last query, because less documents are rejected.
Or have I missed some important point ?
Finn
#webMethods#Tamino#API-Management