oxy:current-selected-element() Function
This function returns the fully selected element. If no element is selected, the function returns an empty sequence.
Example: oxy:current-selected-element
Function
oxy:current-selected-element()[self::p]/bThis example returns the <b> elements that are children of the currently
selected <p> element.