(*--------------------------------------------------------------------------- Copyright (c) 2025 Anil Madhavapeddy . All rights reserved. SPDX-License-Identifier: MIT ---------------------------------------------------------------------------*) (** HTML5 DOM Types and Operations This module provides DOM manipulation functions for HTML5 documents. It includes node creation, tree traversal, attribute manipulation, and serialization. *) include Dom_node let to_html = Dom_serialize.to_html let to_writer = Dom_serialize.to_writer let to_test_format = Dom_serialize.to_test_format let to_text = Dom_serialize.to_text