Thanks Harald
I’ll apply the wildcards for the containsText, but I did another test:
for $a in input()/Establecimiento
where tf:containsText($a/DefinicionEstablecimiento/Nombre, “H*”)
return $a/DefinicionEstablecimiento/Nombre
returns (OK)
HOSPITAL DE PRUEBA
HOSP. BARROS LUCO TRUDEAU
HOSP. EXEQUIEL GONZALEZ CORTES
HOSP. SAN LUIS DE BUIN
for $a in input()/Establecimiento
where fn:starts-with($a/DefinicionEstablecimiento/Nombre, “H”)
return $a/DefinicionEstablecimiento/Nombre
returns (BUG??)
HOSPITAL DE PRUEBA
for $a in input()/Establecimiento
where fn:starts-with($a/DefinicionEstablecimiento/Nombre, “HOSP.”)
return $a/DefinicionEstablecimiento/Nombre
returns no results !! :shock:
It seems a bug, that’s because I’m asking for some way to do starts-with with some tf:* function …
Joe
#Tamino#webMethods#API-Management