SP.XmlWriter.writeStartElement(tagName) Method
Applies to: SharePoint Foundation 2010
Appends a start element tag with the specified name in XML format to the object’s string builder.
SP.XmlWriter.writeStartElement(tagName);
Parameters
tagName
Type: String
The name of the element tag.
Exceptions
Sys.InvalidOperationException
The previous attribute is not closed.
Remarks
This method checks whether the previous start element tag or attribute is closed before appending the start element.