-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi. I'm tring to use Xalan's XPath support to run queries on some
Collada documents I have. I've run into the issue that the documents
all declare themselves in an anonymous namespace:
<?xml version="1.0" encoding="utf-8"?>
<COLLADA xmlns="http://www.collada.org/2005/11/COLLADASchema"
version="1.4.0">
<asset>
...
</asset>
</COLLADA>
So I want my XPath expressions to refer through that namespace. I
thought I'd try using the XalanSimplePrefixResolver doing something like
this:
XalanSimplePrefixResolver thePrefixResolver(
XalanDOMString("c"),
XalanDOMString("http://www.collada.org/2005/11/COLLADASchema"),
XalanDOMString("http://www.collada.org/2005/11/COLLADASchema")
);