Diego López
2007-02-20 10:13:04 UTC
Hi,
I can't solve the problem with these stylesheets. They have to be
procssed with XSLT 2.0 processor. They were generated with Altova
StyleVision. I have download a java library called saxon8.jar but it
doesn't work.This is my java program test to do this task:
System.setProperty("javax.xml.transform.TransformerFactory",
"net.sf.saxon.TransformerFactoryImpl");
Source xmlSource = new StreamSource(xmlFile);
Source xsltSource = new StreamSource(xsltFile);
TransformerFactory transFact = TransformerFactory.newInstance();
Transformer trans = transFact.newTransformer(xsltSource);
trans.transform(xmlSource, new StreamResult("C:/salida.html"));
I will be very grateful if someone could help me. I am stopped with
this since many days ago.
I enclose the problematic files.
Regards,
Diego
I can't solve the problem with these stylesheets. They have to be
procssed with XSLT 2.0 processor. They were generated with Altova
StyleVision. I have download a java library called saxon8.jar but it
doesn't work.This is my java program test to do this task:
System.setProperty("javax.xml.transform.TransformerFactory",
"net.sf.saxon.TransformerFactoryImpl");
Source xmlSource = new StreamSource(xmlFile);
Source xsltSource = new StreamSource(xsltFile);
TransformerFactory transFact = TransformerFactory.newInstance();
Transformer trans = transFact.newTransformer(xsltSource);
trans.transform(xmlSource, new StreamResult("C:/salida.html"));
I will be very grateful if someone could help me. I am stopped with
this since many days ago.
I enclose the problematic files.
Regards,
Diego