Formats text with xml tags.
xml_str = slr_xml(key, args)
type of the formatting that must be performed
content to be formatted
formatted string