implemented XML and RAW formatters when presenting strings

This won't be the final approach to the problem; the real approach
is to put the formatter functions into the fields themselves, but
can't do that yet until the ORM is more mature.
minor doc update