package syndic

  1. Overview
  2. Docs
RSS1, RSS2, Atom and OPML1 parsing

Install

Dune Dependency

Authors

Maintainers

Sources

syndic-1.2.tar.gz
sha256=8fcdcfb13c67ed8eb3d25a90b8d41e80f3d049c7ff95e5e45da63c32755e4ad6
md5=b7ff28ae8be9020c0f9c976d343d2504

doc/syndic/Syndic_xml/index.html

Module Syndic_xml

Common module for XML parsing.

type dtd = string option

The type for the optional DTD.

type t =
  1. | Node of Xmlm.pos * Xmlm.tag * t list
  2. | Data of Xmlm.pos * string

A XML tree.

val resolve : xmlbase:Uri.t option -> Uri.t -> Uri.t

resolve base uri resolve the uri against the possible base.

val get_position : t -> Xmlm.pos
val of_xmlm : Xmlm.input -> dtd * t

of_xmlm doc converts an XML document doc into a DTD and a tree representing the document.

val to_xmlm : ?dtd:string -> t -> Xmlm.output -> unit
val to_string : ?ns_prefix:(string -> string option) -> t -> string
val to_buffer : ?ns_prefix:(string -> string option) -> t -> Buffer.t -> unit
OCaml

Innovation. Community. Security.