Edit online

oxy:selected-elements() Function

This function returns the selected elements from Author mode.

Example: oxy:selected-elements Function
oxy:selected-elements()[self::para][@audience="novice"]

This example would activate an action when at least one of the selected elements is a <para> element with the @novice attribute defined.