Methods for creating, parsing, and dealing with XML and ElementTree objects.
Bases: ncclient.NCClientError
Base NETCONF namespace
Namespace for Tail-f core data model
Namespace for Tail-f execd data model
Namespace for Cisco data model
Namespace for Juniper 9.6R4. Tested with Junos 9.6R4+
Namespace for Flowmon data model
Registers a namespace prefix that newly created Elements in that namespace will use. The registry is global, and any existing mapping for either the given prefix or the namespace URI will be removed.
Qualify a tag name with a namespace, in ElementTree fashion i.e. {namespace}tagname.
Convert and return the XML for an ele (Element) with specified encoding.
Convert and return the Element for the XML document x. If x is already an Element simply returns that.
Efficiently parses the root element of a raw XML document, returning a tuple of its qualified name and attribute dictionary.
Checks if the root element of an XML document or Element meets the supplied criteria.
tags if specified is either a single allowable tag name or sequence of allowable alternatives
attrs if specified is a sequence of required attributes, each of which may be a sequence of several allowable alternatives
Raises XMLError if the requirements are not met.