DOMNodeWriter.WriteRaw

Syntax:

WriteRaw(<Text>)

Parameters:

<Text> (required)

Type: String.
Text that is inserted into an open XML fragment or document without processing.

Description:

You can Used to write a raw XML text fragment to the resulting text. For example, you can use this method to prepare an XML document fragment and insert it into the target document.

Availability:

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

Note:

If a record into the FastInfoset file is used, the method equivalent to DOMNodeWriter.WriteText is used. Parsing and analysis of text data is not performed.
You should be very careful when using this method, as you can create a syntactically incorrect XML document because the located fragment is not checked.

Example:

XMLRecord.WriteRaw("<fruit>apple</fruit>");

    

1C:Enterprise Developer's Community