Hello,
I got an
XSL Error: SAX Exception
org.apache.xalan.xslt.XSLProcessorException:
XercesLiaison can not handle
nodes of type class oracle.xml.parser.v2.XMLDocument
I'm implementing a DOM for a Database. The XML
document is stored in the
database and you can access to the document using my
DOM implementation.
My DOM implementation implements the DOM from
org.w3c.dom
I want to give xalan the XMLInput as
org.w3c.dom.Document, an XSLInput as
file (stylesheet.xml) and want to receive the HTML
output in a file
(output.html).
I changed the XSLTProcessor like described in
documentation:
XSLTInputSource xmlSource = new
XSLTInputSource(doc);
XSLTProcessor processor =
XSLTProcessorFactory.getProcessor
(new
org.apache.xalan.xpath.xdom.XercesLiaison());
org.apache.xalan.xslt.XSLTInputSource xslSheet
=
new org.apache.xalan.xslt.XSLTInputSource
(xslFile);
org.apache.xalan.xslt.XSLTResultTarget
xmlResult =
new org.apache.xalan.xslt.XSLTResultTarget
(htmlFile);
// Perform the transformation.
processor.process(xmlSource, xslSheet,
xmlResult);
Any ideas?
after this i tried even using XMLParserLaisonDefault
in place of XercesLaison but still i could not solve
my problem
i use the xalan version 1.2.1 is there a solution for
this problem.
Thanks
Thomas
__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/