OASISFormat: 0.4
Name: tyxml
Version: 3.5.0
Homepage: http://ocsigen.org/tyxml/
Authors:
  Thorsten Ohl,
  Vincent Balat,
  Gabriel Kerneis,
  Cecile Herbelin,
  Simon Castellan,
  Boris Yakobowski,
  Pierre Chambart,
  Grégoire Henry
License: LGPL-2.1 with OCaml linking exception
Plugins: META (0.3), DevFiles (0.3)
BuildTools: ocamlbuild
AlphaFeatures: pure_interface

Synopsis: HTML5 pages typed with polymorphic variants
Description:
   HTML typing based on Thorsten Ohl's XHTML.M library to validate
   xml tree at compile-time, adapted to support HTML5 and SVG.

   The implementation uses a XML module for generating well
   formed---but not necessarily valid with respect to some DTD---XML
   documents.  The elements of type XML.elt and attributes of type
   XML.attrib are then hidden behind polymorphic phantom types type 'a
   elt = XML.elt and type 'a attrib = XML.attrib with 'a set to
   appropriate polymorphic variants.

Flag syntax
  Description: Build the camlp4 syntax extension.
  Default: true

Library tyxml
  FindlibName: tyxml
  Path: lib
  Modules:
    Xml,
    Svg,
    Html5
  InternalModules:
    Xml_iter,
    Xml_wrap,
    Xml_print,
    Svg_f,
    Html5_f
  BuildDepends: str, uutf

Library tyxml_f
  FindlibName: functor
  FindlibParent: tyxml
  XMETADescription:
    HTML5 pages typed with polymorphic variants (Functor version)
  Path: lib
  Modules:
    Xml_iter,
    Xml_sigs,
    Xml_wrap,
    Xml_print,
    Svg_sigs,
    Svg_types,
    Svg_f,
    Html5_sigs,
    Html5_types,
    Html5_f
  BuildDepends: uutf

Library tyxml_tools
  FindlibName: tools
  FindlibParent: tyxml
  Path: tools
  Modules: Tyxml_name
  BuildDepends: bytes

Executable autoname
  Path: tools
  MainIs: autoname.ml
  Install: false
  BuildDepends: tyxml.tools

Library pa_tyxml
  Build$: flag(syntax)
  FindlibName: syntax
  FindlibParent: tyxml
  XMETAType: syntax
  XMETADescription:
    HTML5 and SVG syntax extension
  XMETAExtraLines: requires(toploop) = "tyxml"
  Path: syntax
  BuildDepends:
    bytes, camlp4
  Modules:
    Pa_tyxml
  InternalModules:
    Xmllexer,
    Basic_types,
    Camllexer,
    Xhtmlparser

Library tymlx_p
  Build$: flag(syntax)
  FindlibName: parser
  FindlibParent: tyxml
  XMETADescription:
    Simple XML parser
  Path: syntax
  BuildDepends:
    bytes, camlp4.lib
  InternalModules:
    Xmllexer
  Modules:
    Simplexmlparser

Document "tyxml-api"
  Title: API reference for TyXML
  Type: ocamlbuild (0.3)
  Install: true
  InstallDir: $htmldir/api
  BuildTools: ocamldoc
  XOCamlbuildPath: ./
  XOCamlbuildLibraries:
    tyxml, tyxml.functor, tyxml.parser, tyxml.syntax
