Thanks for your input guys!
I just heard back from our software developers who support the product that uses the Xpath info. Apparently the software does not support Xpath 2.0, and only supports a subset of Xpath 1.0, and they can't tell me what that subset is.
I assume this is what is making things difficult (or impossible). Sorry to waste your time guys.
Regards
HP