---
id: object/table/1235
type: object
title: Table 1235 "XML Buffer"
summary: Table 1235 "XML Buffer" in Base Application (System.IO). 12 fields, 35 public procedures, 3 events. Present since at least BC23, still in BC30, changed in BC24, BC26, BC29.
tier: official
language: en
tags:
  - table
  - base application
versions:
  introduced: null
  last_changed: "29"
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: 20b5b12d8b6094c91a14b8c08a10f60ef9a398869dd31c59478c5873a496acdb
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/System/DataExchange/XMLBuffer.Table.al
    title: src/Layers/W1/BaseApp/System/DataExchange/XMLBuffer.Table.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: table
object_id: 1235
name: XML Buffer
namespace: System.IO
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "24"
  - "26"
  - "29"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 12
  procedures: 40
  events: 3
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 1
  extended_by: 0
  event_subscribers: 0
  calls: 5
  called_by: 0
  implements: 0
---

# Table 1235 "XML Buffer"

> Table 1235 "XML Buffer" in Base Application (System.IO). 12 fields, 35 public procedures, 3 events. Present since at least BC23, still in BC30, changed in BC24, BC26, BC29.

Base Application · System.IO · BC23-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/System/DataExchange/XMLBuffer.Table.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Caption | XML Buffer |
| DataClassification | CustomerContent |

## Fields

Explanation: the field's ToolTip in the code; without one, the ToolTip of a page control bound to the field (marked via the page); without that, its Caption (marked caption) when that differs from the name.

| No. | Name | Type | Explanation | Notes |
|---|---|---|---|---|
| 1 | Entry No. | Integer | — | AutoIncrement; DataClassification SystemMetadata |
| 2 | Type | Option | — | OptionCaption: ,Element,Attribute,Processing Instruction; DataClassification SystemMetadata |
| 3 | Name | Text[250] | Specifies the name of the imported record. <small>via [Page 1266 "Select Source"](../page/1266.md)</small> | DataClassification SystemMetadata |
| 4 | Path | Text[250] | — | DataClassification SystemMetadata |
| 5 | Value | Text[250] | Specifies the value of the imported record. <small>via [Page 1266 "Select Source"](../page/1266.md)</small> | DataClassification SystemMetadata |
| 6 | Depth | Integer | — | DataClassification SystemMetadata |
| 7 | Parent Entry No. | Integer | — | DataClassification SystemMetadata |
| 9 | Data Type | Option | — | OptionCaption: Text,Date,Decimal,DateTime; DataClassification SystemMetadata |
| 13 | Node Number | Integer | — | DataClassification SystemMetadata |
| 14 | Namespace | Text[250] | — | DataClassification SystemMetadata |
| 15 | Import ID | Guid | — | DataClassification SystemMetadata |
| 16 | Value BLOB | BLOB | — | DataClassification SystemMetadata |

## Keys

- Key1: Entry No. (clustered)
- Key2: Parent Entry No., Type, Node Number
- Key3: Import ID

## Events published

- `OnBeforeDownload(var XMLBuffer: Record "XML Buffer"; var Success: Boolean; var IsHandled: Boolean)` (integration)
- `OnNormalizeElementValue(var ElementValue: Text)` (integration)
- `OnSetValueWithoutModifyingOnAfterAssignValue(var XMLBuffer: Record "XML Buffer"; NewValue: Text)` (integration)

## Procedures

- `Load(StreamOrServerFile: Variant)`
- `LoadFromStream(XmlStream: InStream)`
- `ReadFromBlob(BlobFieldRef: FieldRef)`
- `LoadFromText(XmlText: Text)`
- `Upload(): Boolean`
- `Save(ServerFilePath: Text): Boolean`
- `Save(var TempBlob: Codeunit "Temp Blob"): Boolean`
- `Download(): Boolean`
- `CreateRootElement(ElementName: Text[250])`
- `AddNamespace(NamespacePrefix: Text[244]; NamespacePath: Text[250])`
- `AddProcessingInstruction(InstructionName: Text[250]; InstructionValue: Text)`
- `AddAttribute(AttributeName: Text[250]; AttributeValue: Text)`
- `AddAttributeWithNamespace(AttributeNameWithNamespace: Text[250]; AttributeValue: Text)`
- `AddGroupElement(ElementNameWithNamespace: Text[250]): Integer`
- `AddGroupElementAt(ElementNameWithNamespace: Text[250]; EntryNo: Integer): Integer`
- `AddElement(ElementNameWithNamespace: Text[250]; ElementValue: Text): Integer`
- `AddLastElement(ElementNameWithNamespace: Text[250]; ElementValue: Text): Integer`
- `AddNonEmptyElement(ElementNameWithNamespace: Text[250]; ElementValue: Text): Integer`
- `AddNonEmptyLastElement(ElementNameWithNamespace: Text[250]; ElementValue: Text): Integer`
- `CopyImportFrom(var TempXMLBuffer: Record "XML Buffer" temporary)`
- `CountChildElements(): Integer`
- `CountAttributes(): Integer`
- `CountProcessingInstructions(): Integer`
- `FindProcessingInstructions(var TempXMLBuffer: Record "XML Buffer" temporary): Boolean`
- `FindAttributes(var TempResultAttributeXMLBuffer: Record "XML Buffer" temporary): Boolean`
- `FindChildElements(var TempResultElementXMLBuffer: Record "XML Buffer" temporary): Boolean`
- `FindNodesByXPath(var TempResultElementXMLBuffer: Record "XML Buffer" temporary; XPath: Text): Boolean`
- `GetAttributeValueAsText(AttributeName: Text): Text`
- `GetNamespaceUriByPrefixAsText(NamespacePrefix: Text): Text`
- `GetElementName(): Text`
- `GetParent(): Boolean`
- `HasChildNodes(): Boolean`
- `GetValue(): Text`
- `SetValue(NewValue: Text)`
- `SetValueWithoutModifying(NewValue: Text)`

Plus 2 local procedures.

## Pages and codeunits on this table

- [Page 1266 "Select Source"](../page/1266.md) (source table)

## Calls

From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an `Object::"Name"` argument. Interface dispatch and calls through events are not counted, so the list is not complete.

- [Codeunit 1235 "XML Buffer Writer"](../codeunit/1235.md) (9 calls: `AddAttribute → InsertAttribute`, `AddAttributeWithNamespace → InsertAttributeWithNamespace`, `AddGroupElement → InsertElement`, …)
- [Codeunit 419 "File Management"](../codeunit/419.md) (5 calls: `Download → DeleteServerFile`, `Download → DownloadHandler`, `Download → ServerTempFileName`, …)
- [Codeunit 10 "Type Helper"](../codeunit/10.md) (4 calls: `GetValue → LFSeparator`, `GetValue → ReadAsTextWithSeparator`, `ReadFromBlob → CRLFSeparator`, …)
- [Codeunit 4100 "Temp Blob"](../codeunit/4100.md) (2 calls: `ReadFromBlob → CreateInStream`, `ReadFromBlob → FromRecordRef`)
- [Codeunit 1239 "XML Buffer Reader"](../codeunit/1239.md) (1 call: `Save → SaveToFile`)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: BC24, BC26, BC29

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

## Ask your agent

Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: `bcatlas_resolve_node(object_type: "table", object_name: "XML Buffer")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
