package xtmpl

  1. Overview
  2. Docs

Module Rewrite.PSource

Sourcemodule Attributes = Xml.Name_map
Sourcetype attr_value = X.tree list
Sourcetype data
Sourceval compare_name : Attributes.key -> Attributes.key -> int
Sourceval compare_attr_value : attr_value -> attr_value -> int
Sourceval compare_data : data -> data -> int
Sourceval default_data : unit -> data
Sourceval version_name : unit -> Attributes.key
Sourceval default_version : unit -> attr_value
Sourceval default_attr_value : unit -> attr_value
Sourceval pp_name : Format.formatter -> Attributes.key -> unit
Sourceval pp_attr_value : Format.formatter -> attr_value -> unit

Print attribute value, with escaping but without quotes around.

Sourceval pp_attributes : (Format.formatter -> attr_value Attributes.t -> unit) option

If provided, use this function to print attributes. Else pp_name and pp_attr_value will be used.