You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Srinivasan Natarajan <sr...@wipro.com> on 2000/11/02 18:47:24 UTC

Error during transformation ...

Hi,

We are using Xalan and Xerces to transform XML to HTML using XSL.

1. Using command line, we are able to do the transformation.
2. Using Java program, when the .XML, .XSL are in the same directory as the
Java program, the
transformation is successful.
3. When we take the XML and XSL files to a different directory,
transformation fails !

Here is our simple code :

xslProcessor = XSLTProcessorFactory.getProcessor();
xslProcessor.process("c:\\test.xml", "c:\\transform.xsl",
"c:\\output.html");

The Java Program is in c:\Try

Any help ?

Thanks,
Srinivas.