ReferenceCustom XML
Custom XML operations
Custom XML Data Storage Part operations (ECMA-376 §15.2.5, §15.2.6). Raw read and write of custom XML parts in the OOXML package.
5 operations. Names, descriptions, and behavior flags come from the canonical contract.
Operations
customXml.parts.createAdd a new Custom XML Data Storage Part to the document. Generates a fresh itemID GUID and emits the Properties Part.mutatescustomXml.parts.getGet a single Custom XML Data Storage Part by itemID or package part name, including its full content. v1 partName targeting is limited to Word-style customXml/itemN.xml paths.readcustomXml.parts.listList Custom XML Data Storage Parts in the document, optionally filtered by root namespace or schema reference.readcustomXml.parts.patchReplace the content and/or schemaRefs of an existing Custom XML Data Storage Part. At least one of content or schemaRefs is required. v1 partName targeting is limited to Word-style customXml/itemN.xml paths.mutatescustomXml.parts.removeRemove a Custom XML Data Storage Part and clean up all linked package files (item, props, rels, content-types entry). v1 partName targeting is limited to Word-style customXml/itemN.xml paths.mutates