I 'm writing a simple servlet to transform xml into html according to a xsl.
The code is:
TransformerFactory tFactory =
TransformerFactory.newInstance();
Transformer transformer = tFactory.newTransformer(
new StreamSource("prueba.xsl"));
transformer.transform(
new StreamSource("prueba.xml"),
new StreamResult(new
FileOutputStream("prueba.html")));
But I 'm getting the following exception:
javax.xml.transform.TransformerConfigurationException: Namespace not
supported by SAXParser at
org.apache.xalan.processor.TransformerFactoryImpl.newTransformer(Transformer
FactoryImpl.java:650)
at xml2html.doGet(xml2html.java:27)
Can anybody help ?
TIA,
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html