Table of Contents

CreateDom Procedure

Codeunit XML Writer

Creates the XML Document with the root element.

Overloads

Name Description
CreateDom(Text; Text; Text) Creates the XML Document with the root element.
CreateDom(Text; Text; Text; List of [Text]; List of [Text]) Creates the XML Document with the root element and processing instructions.
CreateDom(Text; Text; Text; Text) Creates the XML Document with the root element and a default schema.
CreateDom(Text; Text; Text; Text; List of [Text]; List of [Text]) Creates the XML Document with the root element, a default schema and processing instructions.
CreateDom(Text; Text; Text; Text; Text) Creates the XML Document with the root element and a processing instruction.
CreateDom(Text; Text; Text; Text; Text; Text) Creates the XML Document with the root element, a default schema and a processing instruction.

CreateDom(Text; Text; Text) Procedure

Creates the XML Document with the root element.

Signature

CreateDom(NewEncoding: Text; Comment: Text; RootElementName: Text)

Parameters

NewEncoding Text

The encoding for the XML Document. If this is empty, UTF-8 will be used.

Comment Text

An optional comment that is added to the XML Document.

RootElementName Text

The name of the root element, also known as the Document Element.

CreateDom(Text; Text; Text; List of [Text]; List of [Text]) Procedure

Creates the XML Document with the root element and processing instructions.

Signature

CreateDom(NewEncoding: Text; NewComment: Text; RootElementName: Text; ProcInstrCodes: List of [Text]; ProcInstrValues: List of [Text])

Parameters

NewEncoding Text

The encoding for the XML Document. If this is empty, UTF-8 will be used.

NewComment Text

An optional comment that is added to the XML Document.

RootElementName Text

The name of the root element, also known as the Document Element.

ProcInstrCodes List of [Text]

A list of codes for the processing instructions.

ProcInstrValues List of [Text]

A list of the values for the processing instructions specified in ProcInstrCodes.

CreateDom(Text; Text; Text; Text) Procedure

Creates the XML Document with the root element and a default schema.

Signature

CreateDom(NewEncoding: Text; Comment: Text; RootElementName: Text; NewDefaultSchema: Text)

Parameters

NewEncoding Text

The encoding for the XML Document. If this is empty, UTF-8 will be used.

Comment Text

An optional comment that is added to the XML Document.

RootElementName Text

The name of the root element, also known as the Document Element.

NewDefaultSchema Text

A schema that should be used as the default schema.

CreateDom(Text; Text; Text; Text; List of [Text]; List of [Text]) Procedure

Creates the XML Document with the root element, a default schema and processing instructions.

Signature

CreateDom(NewEncoding: Text; NewComment: Text; RootElementName: Text; NewDefaultSchema: Text; ProcInstrCodes: List of [Text]; ProcInstrValues: List of [Text])

Parameters

NewEncoding Text

The encoding for the XML Document. If this is empty, UTF-8 will be used.

NewComment Text

An optional comment that is added to the XML Document.

RootElementName Text

The name of the root element, also known as the Document Element.

NewDefaultSchema Text

A schema that should be used as the default schema.

ProcInstrCodes List of [Text]

A list of codes for the processing instructions.

ProcInstrValues List of [Text]

A list of the values for the processing instructions specified in ProcInstrCodes.

CreateDom(Text; Text; Text; Text; Text) Procedure

Creates the XML Document with the root element and a processing instruction.

Signature

CreateDom(NewEncoding: Text; NewComment: Text; RootElementName: Text; ProcInstrCode: Text; ProcInstrValue: Text)

Parameters

NewEncoding Text

The encoding for the XML Document. If this is empty, UTF-8 will be used.

NewComment Text

An optional comment that is added to the XML Document.

RootElementName Text

The name of the root element, also known as the Document Element.

ProcInstrCode Text

The code of the processing instruction.

ProcInstrValue Text

The value of the processing instruction specified in ProcInstrCode.

CreateDom(Text; Text; Text; Text; Text; Text) Procedure

Creates the XML Document with the root element, a default schema and a processing instruction.

Signature

CreateDom(NewEncoding: Text; NewComment: Text; RootElementName: Text; NewDefaultSchema: Text; ProcInstrCode: Text; ProcInstrValue: Text)

Parameters

NewEncoding Text

The encoding for the XML Document. If this is empty, UTF-8 will be used.

NewComment Text

An optional comment that is added to the XML Document.

RootElementName Text

The name of the root element, also known as the Document Element.

NewDefaultSchema Text

A schema that should be used as the default schema.

ProcInstrCode Text

The code of the processing instruction.

ProcInstrValue Text

The value of the processing instruction specified in ProcInstrCode.

This documentation is generated from Smart Toolbox v27.1