Re: cannot find the namespace declarations from an extension function
Michael Ludwig <[email protected]>
| Newsgroups | gmane.text.xml.xalan.java.user |
|---|---|
| Message-ID | <20090406215303.GC3740@wladimir> |
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