FastInfosetWriter.WriteStartElement

Syntax variant: Record of element start with element full name

Syntax:

WriteStartElement(<FullName>)

Parameters:

<FullName> (required)

Type: String.
Full name of a recorded element. Can include a prefix. For example: "nsp:weight".

Syntax variant: Record of element start with a local name and namespace URI

Syntax:

WriteStartElement(<LocalName>, <NamespaceURI>)

Parameters:

<LocalName> (required)

Type: String.
Local element name (without prefix).

<NamespaceURI> (required)

Type: String.
The namespace URI for an element name.

Description of method variant:

Namespace mapping will need to be written when writing this element or the next higher one.

Description:

Write start element.

Availability:

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

Example:

XMLRecord.WriteStartElement("weight", "http://metrics.org");
XMLRecord.WriteNamespaceMapping("nsp", "http://metrics.org");
XMLRecord.WriteText("12.5");
XMLRecord.WriteEndElement();


    

1C:Enterprise Developer's Community