SP.XmlWriter.writeString(value) Method
Applies to: SharePoint Foundation 2010
Appends the specified value for an element tag or attribute to the object’s string builder.
SP.XmlWriter.writeString(value);
Parameters
value
Type: String
The value of the element tag or attribute.
Remarks
This method replaces the "&", "<", and ">" characters with "&", "<", and ">" respectively when appending the value for an element tag or attribute.