Function: origins()
ts
function origins(root, options?): Map<XmlElement, string>;Defined in: netconf/src/operations/nmda.ts:254
Every element's origin in a <get-data> reply made with withOrigin: its own or:origin, or else the nearest annotated ancestor's (RFC 8526 §3.1.1.1). Elements with no origin in their ancestry (state data, for example) are absent.
Each origin is an identity, module-qualified as RFC 7951 writes it: ietf-origin:intended, ietf-origin:learned, or another module's. Its prefix resolves wherever the server declared it, up to <rpc-reply>. moduleOf names a module the library doesn't know by heart: pass (ns) => client.content.moduleOf(ns).
Parameters
root
options?
moduleOf?
ModuleOf
Returns
Map<XmlElement, string>