oxy:platform() Function
This function returns the current platform. You can use this if you want to enable or disable an action depending on the platform. The possible values are: standalone, eclipse, or webapp.
Example: oxy:platform
Function
oxy:platform()="standalone"
This example would keep the action activated for the standalone distribution of Oxygen XML Editor Eclipse plugin, but disable it for the Eclipse and Web Author distributions.