XML Traversal in PowerShell for dummies

The Object: System.Xml.XmlDocument This is a .NET class implementing the W3C DOM (Document Object Model) . When you load XML into it, it parses the entire document into a tree of nodes in memory . Every node in that tree is a .NET object. The types you encounter: .NET Type What it is XmlDocument The root container — the document itself XmlElement A tag: <EntityType Name="Foo"> XmlAttribute An…