Advertisement
Guest User

Untitled

a guest
Feb 19th, 2019
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  1. Bundle bundle = Activator.getDefault().getBundle();
  2. IPath smrlSsPath = new Path("/addins/smrl/smrl4odf2shore.xslt");
  3. URL smrlSsUrl = FileLocator.find(bundle, smrlSsPath, Collections.EMPTY_MAP);
  4. File smrlStylesheet = new File(FileLocator.toFileURL(smrlSsUrl).toURI());
  5. xsltSource = new StreamSource(smrlStylesheet);
  6. transFact = TransformerFactory.newInstance();
  7. trans = transFact.newTransformer(xsltSource);
  8. trans.setParameter("smrl.file", smrlFile.getAbsolutePath());
  9. trans.transform(xmlSource, new StreamResult(outputTempFile));
  10.  
  11. <xsl:include href="odf2shore.xslt"/>
  12.  
  13. ERROR: 'C:Programyeclipseconfigurationorg.eclipse.osgibundles8371.cpaddinssmrlodf2shore.xslt (The system cannot find the file specified)'
  14. FATAL ERROR: 'Could not compile stylesheet'
  15. javax.xml.transform.TransformerConfigurationException: Could not compile stylesheet
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement