Hi Guys,
I am getting a strange problem... When I try to create Transformer
using StreamSource() it works. But fails for DOMSource for same xsl.
As the exceptrion says taht it requires "version" attribute. It is
there....
Following is the exception : ---
file:///E:\mywork\R&D\xsl\javax.xml.transform.dom.DOMSource; Line 0; Column
0; javax.xml.transform.TransformerConfigurationException: stylesheet
requires attribute: version at
org.apache.xalan.processor.TransformerFactoryImpl.newTransformer(Transformer
FactoryImpl.java:684) at TestXSLT.main(TestXSLT.java:24)
Any pointers....
Thanks,
Rajan