XDTOFactory.WriteXML

Syntax:

WriteXML(<XMLWriter>, <Item>, <LocalName>, <NamespaceURI>, <Form>, <TypeIndication>)

Parameters:

<XMLWriter> (required)

Type: DOMNodeWriter, FastInfosetWriter, XMLWriter.
XML writer object.

<Item> (required)

Type: XDTODataValue; XDTODataObject; Undefined.
The written value.

<LocalName> (optional)

Type: String.
Local name if the written data item.

<NamespaceURI> (optional)

Type: String.
Namespace URI of the written data item.

<Form> (optional)

Type: XMLForm.
Presentation form of XDTO data item.
Default value: Element.

<TypeIndication> (optional)

Type: XMLTypeAssignment.
An assignment variant of XDTO data item type.
Default value: Implicit.

Description:

Writes the specified XDTO data item in XML writer object.

Availability:

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

    

1C:Enterprise Developer's Community