Adrian Herscu schrieb am 06.04.2009 um 15:49:29 (+0300): > I think that I have found an workaround :) > Instead of applying the transformation on a StreamSource object I am > applying it on a DOMSource object and now the lookupNamespaceUri > method works as expected.
That's fine. But as mentioned, you don't need it. You could achieve what you want using the high-level APIs of XSLT and XPath. Then you wouldn't have do deal with DOM and SAX. Michael Ludwig