XmlUtils
XmlUtils
class XmlUtils
XMLUtils is a bunch of utility methods to XML operations.
This class contains static methods only and is not meant to be instantiated.
Methods
static DOMDocument | loadFile(string $file, string|callable|null $schemaOrCallable = null) Loads an XML file. | |
static array | convertDomElementToArray(DOMElement $element, bool $checkPrefix = true) Converts a \ |