XML Structure: You can now insert comments and processing instructions before and after nodes, including the root node, enhancing your ability to manage XML content effectively.
XML Document Management: Document nodes are now treated as regular child nodes, allowing for the inclusion of XML declarations, DTD, and the root element, which improves the overall structure of your XML documents.
XML Document Naming: The XMLBuilder has been renamed to XMLDocument, providing a clearer understanding of its purpose.
Improvements
Node Inheritance: All nodes now inherit from XMLNode, streamlining the structure and functionality of your XML elements.
Functionality Cleanup: Redundant functions that were already defined by the superclass have been removed, simplifying the code and improving performance.
Sibling Support: The removal of root checks from the prev() and next() functions now allows for better handling of sibling nodes of the root, enhancing navigation within the XML structure.
Export Functionality: A new begin() export function has been added, providing additional flexibility in how you manage your XML documents.
Others
Support Update: Support for older Node.js releases has been dropped, ensuring that the library remains up-to-date with current technologies.
Documentation: A release log for version 8.0.0 has been added, keeping you informed about the latest changes and improvements.