You are reading O'Reilly XForms Essentials by Micah Dubinko. (What is this?) - Buy XForms Essentials Online
This action redirects the focus to a different form control. An attribute named control holds an IDREF of the form control that will get focus.
In effect, this action does nothing more than dispatch an xforms-focus event to the form control indicated. It can be used like this:
<setfocus control="Address_1" ev:event="xforms-ready"/>