Search found 73 matches

by adrian_sorop
Fri Nov 27, 2020 11:52 am
Forum: XSLT and FOP
Topic: How to export a stylesheet for Saxon-JS
Replies: 6
Views: 4221

Re: How to export a stylesheet for Saxon-JS

Hi Tom, Exporting stylesheets for Saxon-JS is a built in in Oxygen and uses Oxygen's builtin Saxon 9.9.1.7. Here is the documentation of the builtin tool: Compiling an XSL Stylesheet for Saxon Since Oxygen 22.1, Saxon 10.0 is available as an addon and can be installed from Oxygen's default update si...
by adrian_sorop
Tue Nov 17, 2020 11:28 am
Forum: SDK-API, Frameworks - Document Types
Topic: Batch Validate referenced DITA resources
Replies: 4
Views: 1795

Re: Batch Validate referenced DITA resources

Hi,

When you created the " CheckCompletnessOptionsPO" object, you forgot the keyword "new".

It should be
CheckCompletnessOptionsPO settigs = new CheckCompletnessOptionsPO(true, false,......all other params....);

Regards,
Adrian S.
by adrian_sorop
Fri Nov 13, 2020 1:12 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Batch Validate referenced DITA resources
Replies: 4
Views: 1795

Re: Batch Validate referenced DITA resources

Hi vishwa, Using the pluginWorkspaceAccess.setGlobalObjectProperty(String, Object) you can set the default value associated with the option key ro.sync.exml.options.OptionTags.CHECK_COMPLETENESS_OPTIONS to value ro.sync.ecss.dita.mapeditor.actions.checkcompleteness.CheckCompletnessOptionsPO.CheckCom...
by adrian_sorop
Fri Oct 30, 2020 12:51 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Action: XSLT Operation on processing-instruction
Replies: 1
Views: 1218

Re: Action: XSLT Operation on processing-instruction

Hi! By changing template's match to processing-instruction() I was able to properly get the value of the pseudo attribute "annotation-id" with saxon:get-pseudo-attribute('annotation-id') . With other words, the only change I've made was <xsl:template match="processing-instruction()&qu...
by adrian_sorop
Mon Sep 14, 2020 1:45 pm
Forum: Common Problems
Topic: MySQL JDBC - Could not establish connection
Replies: 2
Views: 1546

Re: MySQL JDBC - Could not establish connection

Hello Kevin, Using " <oXygen/> XML Editor 22.1, build 2020072902 " and " MySQL Server 8.0 " on Windows 10 I was able to connect a database from localhost. The connector used was " mysql-connector-java-8.0.21.jar " and driver class " com.mysql.jdbc.Driver ". In...
by adrian_sorop
Tue Apr 28, 2020 6:38 pm
Forum: Other Issues
Topic: CGM support for eclipse oxygen author pre 19
Replies: 6
Views: 2113

Re: CGM support for eclipse oxygen author pre 19

I could write my own addon using JCGM
If you want to write an add-on that uses the JCGM for versions before 19.0 don't do it. The classes will not be loaded by Oxygen and won't work.
Oxygen's versions 17 and 18 internal code relies on bdaum's CGM Panel Third party's API.
by adrian_sorop
Tue Apr 28, 2020 4:35 pm
Forum: Other Issues
Topic: CGM support for eclipse oxygen author pre 19
Replies: 6
Views: 2113

Re: CGM support for eclipse oxygen author pre 19

Hello, Before Oxygen 19, rendering CGM images in Author Mode was mad using a third party library from bdaum . Here is a documentaion link from Oxygen's 17 Eclipse distribution: Customize Oxygen XML Editor plugin to Render CGM Images Version 17.0 The main issue is that the used third party is no long...
by adrian_sorop
Fri Feb 28, 2020 3:33 pm
Forum: General XML Questions
Topic: Using oxy_replace() Function and Xpath to replace Uppercase
Replies: 4
Views: 2233

Re: Using oxy_replace() Function and Xpath to replace Uppercase

Hello, To change the values of the attributes a Custom XML Refactoring action can be used. The XML Refactoring Operation Descriptor is: <?xml version="1.0" encoding="UTF-8"?> <refactoringOperationDescriptor xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns=&qu...
by adrian_sorop
Fri Feb 14, 2020 6:20 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: How to set a root map programmatically ?
Replies: 4
Views: 1596

Re: How to set a root map programmatically ?

Hello again, Yes, you are right. Using the getOptionsStorage().setOption() doesn't work. I've made a small sample and used setGlobalObjectProperty() . It changes the value of the Contex combo and loads the keys from the map. PluginWorkspaceProvider.getPluginWorkspace().setGlobalObjectProperty(APIAcc...
by adrian_sorop
Fri Feb 14, 2020 12:59 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: How to set a root map programmatically ?
Replies: 4
Views: 1596

Re: How to set a root map programmatically ?

Hi Vince, The easiest way to set the root map from API is to use the KEYS_CONTEXT_MAP option. Something like: URL contextMapToSet = new URL(""); PluginWorkspaceProvider.getPluginWorkspace().getOptionsStorage().setOption(APIAccessibleOptionTags.KEYS_CONTEXT_MAP, contextMapToSet.toExternalFo...
by adrian_sorop
Thu Feb 13, 2020 1:25 pm
Forum: Common Problems
Topic: keyboard shortcut for repeated text
Replies: 1
Views: 926

Re: keyboard shortcut for repeated text

Hi Kate, You can create a custom Operation that will insert the fragment in Author page. To create the custom operation, open the Document Type Association Preferences page and double click to edit your current framework. Go to the Author->Actions tab and create the new action (fill in the ID , Name...
by adrian_sorop
Wed Feb 12, 2020 5:59 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: DITA Composite Plus MathML
Replies: 9
Views: 2138

Re: DITA Composite Plus MathML

Hi,

In Oxygen 17.1, the deafult DITA-OT selected in Oxygen Preferences =>"DITA" is the DITA-OT 1.8.
Change the DITA Open Toolkit to use the DITA-OT 2.x and the MathML content will be recognized.

Regards,
Adrian Sorop
by adrian_sorop
Tue Jan 29, 2019 4:12 pm
Forum: Feature Request
Topic: Provide Saxon 9.9 as a plugin
Replies: 2
Views: 2624

Re: Provide Saxon 9.9 as a plugin

Hi Martin,

A Saxon 9.9 external add-on can be installed in Oxygen XML editor 20.1 from Help / Install new add-ons....
Current version of Saxon is 9.9.0.1, but once we'll release Oxygen 21.0, the add-on is going to be updated to use Saxon 9.9.0.2.

Regards,
Adrian S.