<x:out select='$instance/*/resource'/> (edit mode)