{"title":"Table 1235 XML Buffer, extension points 29","url":"https://jonas-paprotka.de/ref/table/1235-xml-buffer/points/","author":"JOP-AL","license":"Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/","subject":"Microsoft Dynamics 365 Business Central","checked":"2026-11-20","changed":"2026-10-05","object":{"type":"table","id":1235,"name":"XML Buffer","app":"Base Application","url":"https://jonas-paprotka.de/ref/table/1235-xml-buffer/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/table/1235-xml-buffer/source/","path":"src/Layers/W1/BaseApp/System/DataExchange/XMLBuffer.Table.al","commit":"4303e5e584d3aa5d9e98cbc615525a5396ad6ed7","lines":"a line is <source url>#L<line>"},"steps":{"event":"[line, \"event\", name, handled]: raises an event of this object; handled 1 when it has an IsHandled parameter","call":"[line, \"call\", name, arguments]: calls a procedure of this object","ext":"[line, \"ext\", type, id, name, arguments]: calls a procedure of another object, through a variable declared with that type","write":"[line, \"write\", table id, method, 1 when called with true]: Insert, Modify, ModifyAll, Delete, DeleteAll or Rename","validate":"[line, \"validate\", table id, field name]","run":"[line, \"run\", type, id]: Codeunit.Run, Page.Run, Report.Run and their kin"},"objects":{"codeunit:1235":{"name":"XML Buffer Writer","url":"https://jonas-paprotka.de/ref/codeunit/1235-xml-buffer-writer/"},"codeunit:4100":{"name":"Temp Blob","url":"https://jonas-paprotka.de/ref/codeunit/4100-temp-blob/"},"codeunit:10":{"name":"Type Helper","url":"https://jonas-paprotka.de/ref/codeunit/10-type-helper/"},"codeunit:419":{"name":"File Management","url":"https://jonas-paprotka.de/ref/codeunit/419-file-management/"},"codeunit:1239":{"name":"XML Buffer Reader","url":"https://jonas-paprotka.de/ref/codeunit/1239-xml-buffer-reader/"},"table:1235":{"name":"XML Buffer","url":"https://jonas-paprotka.de/ref/table/1235-xml-buffer/"}},"procs":[{"name":"Load","line":100,"kind":"procedure","params":1,"steps":[[104,"ext","codeunit",1235,"InitializeXMLBufferFrom",2]]},{"name":"LoadFromStream","line":107,"kind":"procedure","params":1,"steps":[[111,"ext","codeunit",1235,"InitializeXMLBufferFromStream",2]]},{"name":"ReadFromBlob","line":114,"kind":"procedure","params":1,"steps":[[120,"ext","codeunit",4100,"FromRecordRef",2],[121,"ext","codeunit",4100,"CreateInStream",2],[122,"call","LoadFromText",1],[122,"ext","codeunit",10,"ReadAsTextWithSeparator",2],[122,"ext","codeunit",10,"CRLFSeparator",0]]},{"name":"LoadFromText","line":125,"kind":"procedure","params":1,"steps":[[129,"ext","codeunit",1235,"InitializeXMLBufferFromText",2]]},{"name":"Upload","line":133,"kind":"procedure","params":0,"steps":[[138,"ext","codeunit",419,"UploadFile",2],[141,"call","Load",1],[142,"ext","codeunit",419,"DeleteServerFile",1]]},{"name":"Save","line":147,"kind":"procedure","params":1,"steps":[[151,"ext","codeunit",1239,"SaveToFile",2]]},{"name":"Save","line":154,"kind":"procedure","params":1,"steps":[[158,"ext","codeunit",1239,"SaveToTempBlob",2]]},{"name":"Download","line":162,"kind":"procedure","params":0,"steps":[[169,"event","OnBeforeDownload",1],[173,"ext","codeunit",419,"ServerTempFileName",0],[174,"call","Save",1],[175,"ext","codeunit",419,"DownloadHandler",5],[176,"ext","codeunit",419,"DeleteServerFile",1]]},{"name":"CreateRootElement","line":179,"kind":"procedure","params":1,"steps":[[183,"ext","codeunit",1235,"InsertElement",6]]},{"name":"AddNamespace","line":186,"kind":"procedure","params":2,"steps":[[189,"call","AddAttribute",2],[191,"call","AddAttribute",2]]},{"name":"AddProcessingInstruction","line":194,"kind":"procedure","params":2,"steps":[[198,"ext","codeunit",1235,"InsertProcessingInstruction",6],[198,"call","CountProcessingInstructions",0],[199,"call","GetParent",0]]},{"name":"AddAttribute","line":202,"kind":"procedure","params":2,"steps":[[206,"ext","codeunit",1235,"InsertAttribute",6],[206,"call","CountAttributes",0],[207,"call","GetParent",0]]},{"name":"AddAttributeWithNamespace","line":210,"kind":"procedure","params":2,"steps":[[214,"ext","codeunit",1235,"InsertAttributeWithNamespace",6],[214,"call","CountAttributes",0],[215,"call","GetParent",0]]},{"name":"AddGroupElement","line":218,"kind":"procedure","params":1,"steps":[[222,"ext","codeunit",1235,"InsertElement",6],[222,"call","CountChildElements",0]]},{"name":"AddGroupElementAt","line":226,"kind":"procedure","params":2,"steps":[[241,"write",1235,"Modify"],[244,"ext","codeunit",1235,"InsertElement",6]]},{"name":"AddElement","line":249,"kind":"procedure","params":2,"steps":[[251,"call","AddGroupElement",1],[252,"call","SetValueWithoutModifying",1],[253,"write",1235,"Modify",1],[254,"call","GetParent",0]]},{"name":"AddLastElement","line":257,"kind":"procedure","params":2,"steps":[[259,"call","AddElement",2],[260,"call","GetParent",0]]},{"name":"AddNonEmptyElement","line":263,"kind":"procedure","params":2,"steps":[[267,"call","AddElement",2]]},{"name":"AddNonEmptyLastElement","line":270,"kind":"procedure","params":2,"steps":[[272,"call","AddNonEmptyElement",2],[273,"call","GetParent",0]]},{"name":"CopyImportFrom","line":276,"kind":"procedure","params":1,"steps":[[287,"write",1235,"Insert"]]},{"name":"FindProcessingInstructions","line":329,"kind":"procedure","params":1,"steps":[[331,"call","FindChildNodes",3]]},{"name":"FindAttributes","line":334,"kind":"procedure","params":1,"steps":[[336,"call","FindChildNodes",3]]},{"name":"FindChildElements","line":339,"kind":"procedure","params":1,"steps":[[341,"call","FindChildNodes",3]]},{"name":"FindNodesByXPath","line":344,"kind":"procedure","params":2,"steps":[[346,"ext","table",1235,"CopyImportFrom",1]]},{"name":"GetAttributeValueAsText","line":354,"kind":"procedure","params":1,"steps":[[358,"call","FindChildNodes",3],[359,"ext","table",1235,"GetValue",0]]},{"name":"GetNamespaceUriByPrefixAsText","line":362,"kind":"procedure","params":1,"steps":[[366,"ext","table",1235,"CopyImportFrom",1],[372,"ext","table",1235,"GetValue",0]]},{"name":"FindChildNodes","line":398,"kind":"procedure","access":"local","params":3,"steps":[[400,"ext","table",1235,"CopyImportFrom",1]]},{"name":"GetValue","line":410,"kind":"procedure","params":0,"steps":[[420,"ext","codeunit",10,"ReadAsTextWithSeparator",2],[420,"ext","codeunit",10,"LFSeparator",0]]},{"name":"NormalizeElementValue","line":423,"kind":"procedure","access":"local","params":1,"steps":[[425,"event","OnNormalizeElementValue",0]]},{"name":"SetValue","line":428,"kind":"procedure","params":1,"steps":[[430,"call","SetValueWithoutModifying",1],[431,"write",1235,"Modify"]]},{"name":"SetValueWithoutModifying","line":434,"kind":"procedure","params":1,"steps":[[439,"call","NormalizeElementValue",1],[441,"event","OnSetValueWithoutModifyingOnAfterAssignValue",0]]}]}