Perhaps that's because you're using local path/filenames instead of URI's,
which the JAXP spec requires.  (a common problem)

Try something like:
xslSource.setSystemId("file:///d:/blah.xsl");

And re: the compiler error: if this still happens, please send a full
stacktrace so we can debug it.  This should work just fine.

- Shane

--- "Paul O'Neill" <[EMAIL PROTECTED]> ----
Hi Scott,
     perhaps the problem is to do with the way I am setting the SystemId?
at the moment I am setting it using a String:

Source xslSource = new StreamSource(new File("d:/blah.xsl");
xslSource.setSystemId("d:/blah.xsl");

I've tried using setSystemId(java.io.File f) as it says in the API but this
returns a compiler error?

thanks,

Paul.

Reply via email to