Subject: [xsl] Error at element constructor... From: SEXpeare <sexpeare@xxxxxxxxx> Date: Mon, 12 Mar 2007 10:08:58 +0100 |
Good morning to all you ppl, i'm trying to transform an XML into another with Java, the code is this:
System.setProperty("javax.xml.transform.TransformerFactory", "net.sf.saxon.TransformerFactoryImpl");
TransformerFactory tfactory = TransformerFactory.newInstance();
StreamSource xslSrc = new StreamSource(plantilla.toURL().openStream()); xslSrc.setSystemId("c:/prueba.xsl");
transformer.transform(new StreamSource(super.getISFromDH(adjuntoXml)), new StreamResult(xmlEstructurado));
Error at element constructor <info> on line 5 of file:///c:/prueba.xsl: java.io.FileNotFoundException: C:\Archivos de programa\Apache Group\Tomcat 4.1 (Access Denied)
I know it's taking the path where Tomcat is installed, but don't know why, any idea?
Alvaro Gonzalez Martmnez Software AG, Spain
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] XPATH forumulation problem, Jonas Lundberg | Thread | RE: [xsl] Error at element construc, Michael Kay |
Re: [xsl] Joining two XML-files, ca, Jiang Xin | Date | RE: [xsl] Error at element construc, Michael Kay |
Month |