This content has been marked as final.
Show 3 replies
-
1. Re: <import> tag in xslt throws FileNotFoundException.
kconner Dec 15, 2010 6:18 AM (in response to madhucm)From the code it looks like you need to specify a uriResolver class as part of your configuration.
-
2. Re: <import> tag in xslt throws FileNotFoundException.
madhucm Dec 15, 2010 11:47 PM (in response to kconner)Can you please provide me example on uriResolver .
-
3. Re: <import> tag in xslt throws FileNotFoundException.
beve Dec 16, 2010 2:38 AM (in response to madhucm)Hi,
you need to write a class that implements URIResolver. The resolve() would in your case search the file system and return a a Source instance, for example:
// ... search for file File file = new File(name); return new StreamSource(file);
Regards,
/Daniel