To convert an XML value into a character string or binary string form. This process is the inverse of parsing.