OCaml HTML5 parser/serialiser based on Python's JustHTML
at main 655 B view raw
1(*--------------------------------------------------------------------------- 2 Copyright (c) 2025 Anil Madhavapeddy <anil@recoil.org>. All rights reserved. 3 SPDX-License-Identifier: MIT 4 ---------------------------------------------------------------------------*) 5 6(** HTML5 DOM Types and Operations 7 8 This module provides DOM manipulation functions for HTML5 documents. 9 It includes node creation, tree traversal, attribute manipulation, 10 and serialization. 11*) 12 13include Dom_node 14 15let to_html = Dom_serialize.to_html 16let to_writer = Dom_serialize.to_writer 17let to_test_format = Dom_serialize.to_test_format 18let to_text = Dom_serialize.to_text