You could try doing some ugly things with using predicate tests... changing
/foo
to
/node()["FOO"=localname() or "foo"=localname()]
or doing something with translate() to fold the case so you don't have to
test each version separately.
But this is NOT really recommended. All other XML applications are going to
be case-sensitive, so you're just deferring the problem rather than solving
it. Fix whatever is generating the document.
______________________________________
Joe Kesselman, IBM Next-Generation Web Technologies: XML, XSL and more.
"The world changed profoundly and unpredictably the day Tim Berners Lee
got bitten by a radioactive spider." -- Rafe Culpin, in r.m.filk