Made use of ESXML.

Replaced XML in format strings with ESXML containing some calls to
`format'.