Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Bundle bundle = Activator.getDefault().getBundle();
- IPath smrlSsPath = new Path("/addins/smrl/smrl4odf2shore.xslt");
- URL smrlSsUrl = FileLocator.find(bundle, smrlSsPath, Collections.EMPTY_MAP);
- File smrlStylesheet = new File(FileLocator.toFileURL(smrlSsUrl).toURI());
- xsltSource = new StreamSource(smrlStylesheet);
- transFact = TransformerFactory.newInstance();
- trans = transFact.newTransformer(xsltSource);
- trans.setParameter("smrl.file", smrlFile.getAbsolutePath());
- trans.transform(xmlSource, new StreamResult(outputTempFile));
- <xsl:include href="odf2shore.xslt"/>
- ERROR: 'C:Programyeclipseconfigurationorg.eclipse.osgibundles8371.cpaddinssmrlodf2shore.xslt (The system cannot find the file specified)'
- FATAL ERROR: 'Could not compile stylesheet'
- javax.xml.transform.TransformerConfigurationException: Could not compile stylesheet
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement