# parse_agent_response

The `parse_agent_response` function parses the XML string returned by `send_agent_query` into a more usable form.

## Syntax

    parse_agent_response( agentsString )

## Arguments

Argument | Description
--- | ---
`agentsString` | (string) An XML string containing an IDOL response about agent matches.

## Returns

A list of descriptions of agents. Each description is table containing key-value pairs describing the agent.

The keys in the agent description are `"RESULTWEIGHT"`, `"RESULTLINKS"`, `"AGENTNAME"`, `"AGENTTRAINING"`, `"USERNAME"` and `"EMAILADDRESS"`.

_FT_HTML5_bannerTitle.htm