xquery solved!