Numeric Character Representation in for xml

The option_string of a select for xml statement includes an ncr option that specifies the representation of string and Unicode columns:

ncr = {no | non_ascii | non_server}

The default NCR option in the for xml clause is ncr = non_ascii.

The ncr option applies only to column values, not to column names or to names specified in the tablename, rowname, or prefix options. XML does not allow NCRs in element or attribute names.