Project

Profile

Help

saxon8.jar XSLT 2.0 processor problem

Added by Anonymous almost 18 years ago

Legacy ID: #4167353 Legacy Poster: diegoluchi (diegoluchi)

Hi, I can't solve the problem with these stylesheets. They have to be processed with XSLT 2.0 processor. They were generated with Altova StyleVision. I have download the saxon8.jar library but it doesn't work. This is my java program that not works: 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


Replies (1)

RE: saxon8.jar XSLT 2.0 processor problem - Added by Anonymous almost 18 years ago

Legacy ID: #4167387 Legacy Poster: Michael Kay (mhkay)

There's nothing obviously wrong with this Java code. If it "doesn't work", you need to give me some clue about the symptoms - does it give you an error message, or incorrect output, or no output at all, or what?

    (1-1/1)

    Please register to reply