Sample Javascript-based Author Operations
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
insert-schema-element-fragment A sample operation that builds an element fragment based on the schem… Sep 25, 2018
xquery-update-js Create Readme.txt Aug 26, 2016


Sample Javascript-based Author Operations.

For each XML document edited in the Oxygen Author editing mode you can define a framework configuration in the "Document Type Association" preferences page. In the framework associations besides being able to specify a CSS used for rendering:

you can also construct Author actions and mount them on the main menus, toolbars or contextual menus. Each Author action is based on one or more Author operations. Among the default available Author operations:

there is a JSOperation which can be used to execute small pieces of Javascript code which use the Author API to make complex changes to the XML.

This project has various samples of using JSOperations to perform various changes to the XML opened in the Author editing mode.

Copyright and License

Copyright 2018 Syncro Soft SRL.

This project is licensed under Apache License 2.0