Warning: Reason support is experimental. We are looking for beta-tester and contributors.

Module Svg

module Svg : sig..end

Typesafe constructors and printers for SVG documents. See also W3C Recommendation


module M : 
  Svg_sigs.Twith type Xml.uri = Xml.uri
and type Xml.event_handler = Xml.event_handler
and type Xml.mouse_event_handler = Xml.mouse_event_handler
and type Xml.keyboard_event_handler = Xml.keyboard_event_handler
and type Xml.attrib = Xml.attrib
and type Xml.elt = Xml.elt
and type 'a Xml.wrap = 'a
and type 'a wrap = 'a
and type 'a list_wrap = 'a list

Concrete implementation of SVG typesafe constructors

module P : 
  Xml_sigs.Typed_simple_printerwith type 'a elt := 'a M.elt
and type doc := M.doc

Simple printer for SVG documents

module Make_printer (O : Xml_sigs.Output) : 
  
  Xml_sigs.Typed_printerwith type out := O.out
and type 'a elt := 'a M.elt
and type doc := M.doc

Parametrized stream printer for SVG documents