You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Andreas Kroop <kr...@tranSIT-Online.DE> on 2001/03/06 13:36:17 UTC

servlets

Hello!
I wrote a servlet which transform an xml file with xsl file.
I use the Xalan Java 2.0 and JDK 1.3.

But it didn't work and throws such exceptions:
javax.xml.transform.TransformerConfigurationException: Namespace not
supported by SAXParser


...
try
{
   TransformerFactory tFactory = TransformerFactory.newInstance();
   Transformer transformer = tFactory.newTransformer(new
StreamSource(xslfile));
   transformer.transform(new StreamSource(new StringReader (xml)), new
StreamResult(html));
}
catch
...


Andreas