Only thing to be careful: If the word 'animal' or 'ric' is anywhere else in the xml -- maybe as an attribute value (or part of an attribute value -- e.g. difficulty="tricky") or in a text node, your search will return true even though that might now be what you want.
good idea
Only thing to be careful: If the word 'animal' or 'ric' is anywhere else in the xml -- maybe as an attribute value (or part of an attribute value -- e.g. difficulty="tricky") or in a text node, your search will return true even though that might now be what you want.