XML

Visitor

class pyAMI.XML.Visitor

Visitor class to explore XML nodes

Attribute(self: pyAMI.XML.Visitor, arg0: AMI::XML::Attribute) → None
CData(self: pyAMI.XML.Visitor, arg0: AMI::XML::CData) → None
Element(self: pyAMI.XML.Visitor, arg0: AMI::XML::Element) → None
Manifest(self: pyAMI.XML.Visitor, arg0: AMI::XML::Manifest) → None
Namespace(self: pyAMI.XML.Visitor, arg0: AMI::XML::Namespace) → None
Node(self: pyAMI.XML.Visitor, arg0: AMI::XML::Node) → None

Manifest

class pyAMI.XML.Manifest

XML Manifest node

accept(self: pyAMI.XML.Node, arg0: pyAMI.XML.Visitor) → None
children
find_attributes(self: pyAMI.XML.Node, name: str, only_one: bool=False) → List[AMI::XML::Attribute]
find_elements(self: pyAMI.XML.Node, name: str, only_one: bool=False) → List[AMI::XML::Element]
parent

Namespace

class pyAMI.XML.Namespace

XML Namespace node

accept(self: pyAMI.XML.Node, arg0: pyAMI.XML.Visitor) → None
children
find_attributes(self: pyAMI.XML.Node, name: str, only_one: bool=False) → List[AMI::XML::Attribute]
find_elements(self: pyAMI.XML.Node, name: str, only_one: bool=False) → List[AMI::XML::Element]
parent
prefix
uri

Attribute

class pyAMI.XML.Attribute

XML Attribute node

accept(self: pyAMI.XML.Node, arg0: pyAMI.XML.Visitor) → None
children
find_attributes(self: pyAMI.XML.Node, name: str, only_one: bool=False) → List[AMI::XML::Attribute]
find_elements(self: pyAMI.XML.Node, name: str, only_one: bool=False) → List[AMI::XML::Element]
name
parent
type
value

Element

class pyAMI.XML.Element

XML Element node

accept(self: pyAMI.XML.Node, arg0: pyAMI.XML.Visitor) → None
attributes
children
find_attributes(self: pyAMI.XML.Node, name: str, only_one: bool=False) → List[AMI::XML::Attribute]
find_elements(self: pyAMI.XML.Node, name: str, only_one: bool=False) → List[AMI::XML::Element]
name
parent

CData

class pyAMI.XML.CData

XML CData node

accept(self: pyAMI.XML.Node, arg0: pyAMI.XML.Visitor) → None
cdata
children
find_attributes(self: pyAMI.XML.Node, name: str, only_one: bool=False) → List[AMI::XML::Attribute]
find_elements(self: pyAMI.XML.Node, name: str, only_one: bool=False) → List[AMI::XML::Element]
parent