Skip to content

parseArchiModel

cda-developer-portal


cda-developer-portal / parseArchiModel

parseArchiModel(xmlText): ArchiModel

Defined in: parser/archi-parser.d.ts:11

Parses native Archi .archimate XML text into a clean, semantic ArchiModel. Accepts XML text only — reading a file from disk, the browser File API, or over the network is the caller’s responsibility.

Throws if xmlText is not a string, or if it is not well-formed XML. Does not throw for a semantically broken model (missing ids, dangling references, etc.) — use validateArchiModel for that.

string

ArchiModel