FastInfosetWriter.WriteEndElement

Syntax:

WriteEndElement()

Description:

Ends XML element writing. Element start is written during calling a method FastInfosetWriter.WriteStartElement. Once the element start has been written, everything that is written belongs to this element: nested elements, attributes, text, etc. To end the element, call a given method. Each method call FastInfosetWriter.WriteStartElement must correspond to a given method call.

Availability:

Thin client, server, thick client, external connection, Mobile application (client), Mobile application (server).

Example:

XMLRecord.WriteStartElement("fruits");
XMLRecord.WriteStartElement("apple");
XMLRecord.WriteEndElement();
XMLRecord.WriteStartElement("orange");
XMLRecord.WriteEndElement();
XMLRecord.WriteEndElement();


    

1C:Enterprise Developer's Community