Error: xmlText failed as the first parameter is not an XML or HTML Element. Please first use parseXml() or parseHtml() and select(query) prior to using this function
No fair! Shouldn't xmlText() work just like htmlText(), resulting in just what's inside the tags?
The .toString() is unnecessary since you're already being returned a string.
Tom
p.s. it's easier for people to help you if you include all the data necessary to reproduce your example.
pps I suppose your first example could be made to return '[ "Intendencia de Veracruz"]" but I suspect that, on balance, it would make more users unhappier.