HI Hans,
I think you have to use the current() function.
See below example, In my case I use a webservice to populate the values of a drop down list. When the user selects a name from this ddl the mail address is written into another text box. I use this statement within a rule of the ddl but your exbox should work as well.
xdXDocument:GetDOM("Designer")/dfs:myFields/dfs:dataFields/tns:getDesignersResponse/tns:getDesignersResult/tns:Credentials[tns:Account = current()]/tns:MailDoes this help ?