Utility library for XML usage and best practices in PHP