Share via


Table "XML Buffer"

ID 1235
Namespace: System.IO

Properties

Name Value
Caption XML Buffer
ReplicateData False
DataClassification CustomerContent

Fields

Name Type Description
"Entry No." Integer
Type Option
Name Text[250]
Path Text[250]
Value Text[250]
Depth Integer
"Parent Entry No." Integer
"Data Type" Option
"Node Number" Integer
Namespace Text[250]
"Import ID" Guid
"Value BLOB" Blob
SystemId Guid
SystemCreatedAt DateTime
SystemCreatedBy Guid
SystemModifiedAt DateTime
SystemModifiedBy Guid
SystemRowVersion BigInteger

Methods

LoadFromStream

procedure LoadFromStream(XmlStream: InStream)

Parameters

Name Type Description
XmlStream InStream

ReadFromBlob

procedure ReadFromBlob(BlobFieldRef: FieldRef)

Parameters

Name Type Description
BlobFieldRef FieldRef

LoadFromText

procedure LoadFromText(XmlText: Text)

Parameters

Name Type Description
XmlText Text

Save

procedure Save(var TempBlob: Codeunit "Temp Blob"): Boolean

Parameters

Name Type Description
TempBlob Codeunit System.Utilities."Temp Blob"

Returns

Type Description
Boolean

CreateRootElement

procedure CreateRootElement(ElementName: Text[250])

Parameters

Name Type Description
ElementName Text[250]

AddNamespace

procedure AddNamespace(NamespacePrefix: Text[244], NamespacePath: Text[250])

Parameters

Name Type Description
NamespacePrefix Text[244]
NamespacePath Text[250]

AddProcessingInstruction

procedure AddProcessingInstruction(InstructionName: Text[250], InstructionValue: Text)

Parameters

Name Type Description
InstructionName Text[250]
InstructionValue Text

AddAttribute

procedure AddAttribute(AttributeName: Text[250], AttributeValue: Text)

Parameters

Name Type Description
AttributeName Text[250]
AttributeValue Text

AddAttributeWithNamespace

procedure AddAttributeWithNamespace(AttributeNameWithNamespace: Text[250], AttributeValue: Text)

Parameters

Name Type Description
AttributeNameWithNamespace Text[250]
AttributeValue Text

AddGroupElement

procedure AddGroupElement(ElementNameWithNamespace: Text[250]): Integer

Parameters

Name Type Description
ElementNameWithNamespace Text[250]

Returns

Type Description
Integer

AddGroupElementAt

procedure AddGroupElementAt(ElementNameWithNamespace: Text[250], EntryNo: Integer): Integer

Parameters

Name Type Description
ElementNameWithNamespace Text[250]
EntryNo Integer

Returns

Type Description
Integer

AddElement

procedure AddElement(ElementNameWithNamespace: Text[250], ElementValue: Text): Integer

Parameters

Name Type Description
ElementNameWithNamespace Text[250]
ElementValue Text

Returns

Type Description
Integer

AddLastElement

procedure AddLastElement(ElementNameWithNamespace: Text[250], ElementValue: Text): Integer

Parameters

Name Type Description
ElementNameWithNamespace Text[250]
ElementValue Text

Returns

Type Description
Integer

AddNonEmptyElement

procedure AddNonEmptyElement(ElementNameWithNamespace: Text[250], ElementValue: Text): Integer

Parameters

Name Type Description
ElementNameWithNamespace Text[250]
ElementValue Text

Returns

Type Description
Integer

AddNonEmptyLastElement

procedure AddNonEmptyLastElement(ElementNameWithNamespace: Text[250], ElementValue: Text): Integer

Parameters

Name Type Description
ElementNameWithNamespace Text[250]
ElementValue Text

Returns

Type Description
Integer

CopyImportFrom

procedure CopyImportFrom(var TempXMLBuffer: Record "XML Buffer" temporary)

Parameters

Name Type Description
TempXMLBuffer Table System.IO."XML Buffer"

CountChildElements

procedure CountChildElements(): Integer

Returns

Type Description
Integer

CountAttributes

procedure CountAttributes(): Integer

Returns

Type Description
Integer

CountProcessingInstructions

procedure CountProcessingInstructions(): Integer

Returns

Type Description
Integer

FindProcessingInstructions

procedure FindProcessingInstructions(var TempXMLBuffer: Record "XML Buffer" temporary): Boolean

Parameters

Name Type Description
TempXMLBuffer Table System.IO."XML Buffer"

Returns

Type Description
Boolean

FindAttributes

procedure FindAttributes(var TempResultAttributeXMLBuffer: Record "XML Buffer" temporary): Boolean

Parameters

Name Type Description
TempResultAttributeXMLBuffer Table System.IO."XML Buffer"

Returns

Type Description
Boolean

FindChildElements

procedure FindChildElements(var TempResultElementXMLBuffer: Record "XML Buffer" temporary): Boolean

Parameters

Name Type Description
TempResultElementXMLBuffer Table System.IO."XML Buffer"

Returns

Type Description
Boolean

FindNodesByXPath

procedure FindNodesByXPath(var TempResultElementXMLBuffer: Record "XML Buffer" temporary, XPath: Text): Boolean

Parameters

Name Type Description
TempResultElementXMLBuffer Table System.IO."XML Buffer"
XPath Text

Returns

Type Description
Boolean

GetAttributeValue

Obsolete

This element will become obsolete from version 26.0. Replaced by GetAttributeValueAsText with unlimited text length on return type.

[Obsolete(Replaced by GetAttributeValueAsText with unlimited text length on return type.,26.0)]
procedure GetAttributeValue(AttributeName: Text): Text[250]

Parameters

Name Type Description
AttributeName Text

Returns

Type Description
Text[250]

GetAttributeValueAsText

procedure GetAttributeValueAsText(AttributeName: Text): Text

Parameters

Name Type Description
AttributeName Text

Returns

Type Description
Text

GetNamespaceUriByPrefix

Obsolete

This element will become obsolete from version 26.0. Replaced by GetNamespaceUriByPrefixAsText with increased text length on return type.

[Obsolete(Replaced by GetNamespaceUriByPrefixAsText with increased text length on return type.,26.0)]
procedure GetNamespaceUriByPrefix(NamespacePrefix: Text): Text[250]

Parameters

Name Type Description
NamespacePrefix Text

Returns

Type Description
Text[250]

GetNamespaceUriByPrefixAsText

procedure GetNamespaceUriByPrefixAsText(NamespacePrefix: Text): Text

Parameters

Name Type Description
NamespacePrefix Text

Returns

Type Description
Text

GetElementName

procedure GetElementName(): Text

Returns

Type Description
Text

GetParent

procedure GetParent(): Boolean

Returns

Type Description
Boolean

HasChildNodes

procedure HasChildNodes(): Boolean

Returns

Type Description
Boolean

GetValue

procedure GetValue(): Text

Returns

Type Description
Text

SetValue

procedure SetValue(NewValue: Text)

Parameters

Name Type Description
NewValue Text

SetValueWithoutModifying

procedure SetValueWithoutModifying(NewValue: Text)

Parameters

Name Type Description
NewValue Text

Events

OnBeforeDownload

[IntegrationEvent(False,False)]
local procedure OnBeforeDownload(var XMLBuffer: Record "XML Buffer", var Success: Boolean, var IsHandled: Boolean)

Parameters

Name Type Description
XMLBuffer Table System.IO."XML Buffer"
Success Boolean
IsHandled Boolean

OnNormalizeElementValue

[IntegrationEvent(False,False)]
local procedure OnNormalizeElementValue(var ElementValue: Text)

Parameters

Name Type Description
ElementValue Text

OnSetValueWithoutModifyingOnAfterAssignValue

[IntegrationEvent(False,False)]
local procedure OnSetValueWithoutModifyingOnAfterAssignValue(var XMLBuffer: Record "XML Buffer", NewValue: Text)

Parameters

Name Type Description
XMLBuffer Table System.IO."XML Buffer"
NewValue Text

See also