package syndic

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

syndic-1.7.0.tbz
sha256=7c4526ccc5159640b8782e2fc20bba33ba7191f8a1f743991bcee474c59f8003
sha512=330c32a361c50d0bd7aa89aece9c7d12737e562ffc7d207656101e441797d681ca117ec60fd1b8cf81c1bb0c9d793a00209394d245a8b6523858fafb96716090

doc/syndic/Syndic/XML/index.html

Module Syndic.XMLSource

Common module for XML parsing.

Sourcetype dtd = string option

The type for the optional DTD.

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

A XML tree.

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

resolve base uri resolve the uri against the possible base.

Sourceval get_position : t -> pos
Sourceval input_of_channel : in_channel -> Xmlm.input
Sourceval of_xmlm : Xmlm.input -> dtd * t

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

Sourceval make_output : ?ns_prefix:(string -> string option) -> Xmlm.dest -> Xmlm.output
Sourceval to_xmlm : ?dtd:string -> t -> Xmlm.output -> unit
Sourceval to_string : ?ns_prefix:(string -> string option) -> t -> string
Sourceval to_buffer : ?ns_prefix:(string -> string option) -> t -> Buffer.t -> unit