This library allows you to iterate over XML from a string or DomDocument object.