Eclipse plugin and XSLTProc
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 2
- Joined: Tue Dec 07, 2010 9:31 pm
Eclipse plugin and XSLTProc
Hello,
I am having trouble getting the XSLTProc transformer and validator working in Eclipse plugin version 12.
From the about XML Editor page:
TYIA
I am having trouble getting the XSLTProc transformer and validator working in Eclipse plugin version 12.
From the about XML Editor page:
What files do I need to copy exactly?XSLTProc is part of libxslt (the XSLT C library for GNOME) and is packaged in the Windows, Mac OS X and Linux standalone <oXygen/> distributions. In case you want to use it from the Eclipse plugin, you have to copy the executable files into the plugin directory.
TYIA
-
- Posts: 2879
- Joined: Tue May 17, 2005 4:01 pm
Re: Eclipse plugin and XSLTProc
Hello,
The needed files are mentioned in the user guide:
http://www.oxygenxml.com/doc/ug-eclipse ... ssors.html
But XSLTProc should work out-of-the-box in Windows(the processor files are included in the plugin), Linux(if you have installed the xsltproc package) and Mac OS X (included in the OS).
On what platform are you using Eclipse with the Oxygen plugin?
Regards,
Adrian
The needed files are mentioned in the user guide:
http://www.oxygenxml.com/doc/ug-eclipse ... ssors.html
But XSLTProc should work out-of-the-box in Windows(the processor files are included in the plugin), Linux(if you have installed the xsltproc package) and Mac OS X (included in the OS).
On what platform are you using Eclipse with the Oxygen plugin?
Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
-
- Posts: 2879
- Joined: Tue May 17, 2005 4:01 pm
Re: Eclipse plugin and XSLTProc
Oxygen doesn't provide built-in support to use XSLTProc as a validator.
Is that even possible? I don't see an XSLTProc command line argument for XSLT validation.
However, if you do know what command line arguments to use for XSLTProc, you can set it up as a custom validation engine(Options -> Preferences -> Editor -> Custom Validation Engines).
http://www.oxygenxml.com/doc/ug-oxygenE ... ation.html
Give it a name, browse for the executable path and add the XSL Editor to the Associated editors. Then you can specify the command line arguments in the field below(Default). Use the editor variables(macros):
${cf} - for the path of the currently selected editor
or
${currentFileURL} - for the URL of the currently selected editor
You will find xsltproc.exe in
- <Eclipse-folder>\plugins\com.oxygenxml.editor_* if you have installed Oxygen via the Eclipse update site
or
- <Eclipse-folder>\dropins\com.oxygenxml.editor_*\plugins\com.oxygenxml.editor_* if you have manually downloaded and extracted the zip plugin distribution of Oxygen
You will find the new engine in the Custom Validation Engines list in the toolbar. It's the combo toolbar button with an icon showing a red checkmark with an ellipsis(...) on top.
Regards,
Adrian
Is that even possible? I don't see an XSLTProc command line argument for XSLT validation.
However, if you do know what command line arguments to use for XSLTProc, you can set it up as a custom validation engine(Options -> Preferences -> Editor -> Custom Validation Engines).
http://www.oxygenxml.com/doc/ug-oxygenE ... ation.html
Give it a name, browse for the executable path and add the XSL Editor to the Associated editors. Then you can specify the command line arguments in the field below(Default). Use the editor variables(macros):
${cf} - for the path of the currently selected editor
or
${currentFileURL} - for the URL of the currently selected editor
You will find xsltproc.exe in
- <Eclipse-folder>\plugins\com.oxygenxml.editor_* if you have installed Oxygen via the Eclipse update site
or
- <Eclipse-folder>\dropins\com.oxygenxml.editor_*\plugins\com.oxygenxml.editor_* if you have manually downloaded and extracted the zip plugin distribution of Oxygen
You will find the new engine in the Custom Validation Engines list in the toolbar. It's the combo toolbar button with an icon showing a red checkmark with an ellipsis(...) on top.
Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service