package tyxml

  1. Overview
  2. Docs
module Xml : sig ... end
type uri = Xml.uri
val string_of_uri : uri -> string
val uri_of_string : string -> uri
type 'a attrib
type +'a elt
type +'a elts
type ('a, 'b) nullary = ?a:'a attrib list -> unit -> 'b elt
type ('a, 'b, 'c) unary = ?a:'a attrib list -> 'b elt -> 'c elt
type ('a, 'b, 'c) star = ?a:'a attrib list -> 'b elt list -> 'c elt
type ('a, 'b, 'c) plus = ?a:'a attrib list -> 'b elt -> 'b elt list -> 'c elt
type altglyphdef_content = [
  1. | `Item of Svg_types.altglyphitem elt list
  2. | `Ref of Svg_types.glyphref elt list
]
val a_version : string -> [> `Version ] attrib
val a_baseprofile : string -> [> `BaseProfile ] attrib
val a_x : Svg_types.coord -> [> `X ] attrib
val a_y : Svg_types.coord -> [> `Y ] attrib
val a_width : Svg_types.Unit.length -> [> `Width ] attrib
val a_height : Svg_types.Unit.length -> [> `Height ] attrib
val a_preserveaspectratio : string -> [> `PreserveAspectRatio ] attrib
val a_contentscripttype : string -> [> `ContentScriptType ] attrib
val a_contentstyletype : string -> [> `ContentStyleType ] attrib
val a_zoomAndPan : [< `Disable | `Magnify ] -> [> `ZoomAndSpan ] attrib
val a_requiredfeatures : Svg_types.spacestrings -> [> `RequiredFeatures ] attrib
val a_requiredextensions : Svg_types.spacestrings -> [> `RequiredExtension ] attrib
val a_systemlanguage : Svg_types.commastrings -> [> `SystemLanguage ] attrib
val a_externalressourcesrequired : bool -> [> `ExternalRessourcesRequired ] attrib
val a_id : string -> [> `Id ] attrib
val a_xml_base : Svg_types.iri -> [> `Xml_Base ] attrib
val a_xml_lang : Svg_types.iri -> [> `Xml_Lang ] attrib
val a_xml_space : [< `Default | `Preserve ] -> [> `Xml_Space ] attrib
val a_type : string -> [> `Type ] attrib
val a_media : Svg_types.commastrings -> [> `Media ] attrib
val a_title : string -> [> `Title ] attrib
val a_class : Svg_types.spacestrings -> [> `Class ] attrib
val a_style : string -> [> `Style ] attrib
val a_transform : Svg_types.transform -> [> `Transform ] attrib
val a_viewbox : Svg_types.fourfloats -> [> `Viewbox ] attrib
val a_d : string -> [> `D ] attrib
val a_pathlength : float -> [> `PathLength ] attrib
val a_rx : Svg_types.Unit.length -> [> `Rx ] attrib
val a_ry : Svg_types.Unit.length -> [> `Ry ] attrib
val a_cx : Svg_types.Unit.length -> [> `Cx ] attrib
val a_cy : Svg_types.Unit.length -> [> `Cy ] attrib
val a_r : Svg_types.Unit.length -> [> `R ] attrib
val a_x1 : Svg_types.coord -> [> `X1 ] attrib
val a_y1 : Svg_types.coord -> [> `Y1 ] attrib
val a_x2 : Svg_types.coord -> [> `X2 ] attrib
val a_y2 : Svg_types.coord -> [> `Y2 ] attrib
val a_points : Svg_types.coords -> [> `Points ] attrib
val a_x_list : Svg_types.lengths -> [> `X__list ] attrib
val a_y_list : Svg_types.lengths -> [> `Y__list ] attrib
val a_dx : Svg_types.lengths -> [> `Dx ] attrib
val a_dy : Svg_types.lengths -> [> `Dy ] attrib
val a_dx_single : Svg_types.Unit.length -> [> `Dx__single ] attrib
val a_dy_single : Svg_types.Unit.length -> [> `Dy__single ] attrib
val a_dx_number : Svg_types.number -> [> `Dx__number ] attrib
val a_dy_number : Svg_types.number -> [> `Dy__number ] attrib
val a_lengthadjust : [< `Spacing | `SpacingAndGlyphs ] -> [> `LengthAdjust ] attrib
val a_textlength : Svg_types.Unit.length -> [> `TextLength ] attrib
val a_rotate : Svg_types.numbers -> [> `Rotate ] attrib
val a_startoffset : Svg_types.Unit.length -> [> `StartOffset ] attrib
val a_method : [< `Align | `Stretch ] -> [> `Method ] attrib
val a_spacing : [< `Auto | `Exact ] -> [> `Spacing ] attrib
val a_glyphref : string -> [> `GlyphRef ] attrib
val a_format : string -> [> `Format ] attrib
val a_markerunits : [< `StrokeWidth | `UserSpaceOnUse ] -> [> `MarkerUnits ] attrib
val a_refx : Svg_types.coord -> [> `RefX ] attrib
val a_refy : Svg_types.coord -> [> `RefY ] attrib
val a_markerwidth : Svg_types.Unit.length -> [> `MarkerWidth ] attrib
val a_markerheight : Svg_types.Unit.length -> [> `MarkerHeight ] attrib
val a_orient : [< `Angle of Svg_types.Unit.angle | `Auto ] -> [> `Orient ] attrib
val a_local : string -> [> `Local ] attrib
val a_renderingindent : [< `Absolute_colorimetric | `Auto | `Perceptual | `Relative_colorimetric | `Saturation ] -> [> `Rendering_Indent ] attrib
val a_gradientunits : [< `ObjectBoundingBox | `UserSpaceOnUse ] -> [ `GradientUnits ] attrib
val a_gradienttransform : Svg_types.transforms -> [> `Gradient_Transform ] attrib
val a_spreadmethod : [< `Pad | `Reflect | `Repeat ] -> [> `SpreadMethod ] attrib
val a_fx : Svg_types.coord -> [> `Fx ] attrib
val a_fy : Svg_types.coord -> [> `Fy ] attrib
val a_offset : [< `Number of Svg_types.number | `Percentage of Svg_types.percentage ] -> [> `Offset ] attrib
val a_patternunits : [< `ObjectBoundingBox | `UserSpaceOnUse ] -> [> `PatternUnits ] attrib
val a_patterncontentunits : [< `ObjectBoundingBox | `UserSpaceOnUse ] -> [> `PatternContentUnits ] attrib
val a_patterntransform : Svg_types.transforms -> [> `PatternTransform ] attrib
val a_clippathunits : [< `ObjectBoundingBox | `UserSpaceOnUse ] -> [> `ClipPathUnits ] attrib
val a_maskunits : [< `ObjectBoundingBox | `UserSpaceOnUse ] -> [> `MaskUnits ] attrib
val a_maskcontentunits : [< `ObjectBoundingBox | `UserSpaceOnUse ] -> [> `MaskContentUnits ] attrib
val a_primitiveunits : [< `ObjectBoundingBox | `UserSpaceOnUse ] -> [> `PrimitiveUnits ] attrib
val a_filterres : Svg_types.number_optional_number -> [> `FilterResUnits ] attrib
val a_result : string -> [> `Result ] attrib
val a_in : [< `BackgroundAlpha | `BackgroundImage | `FillPaint | `Ref of string | `SourceAlpha | `SourceGraphic | `StrokePaint ] -> [> `In ] attrib
val a_in2 : [< `BackgroundAlpha | `BackgroundImage | `FillPaint | `Ref of string | `SourceAlpha | `SourceGraphic | `StrokePaint ] -> [> `In2 ] attrib
val a_aizmuth : float -> [> `Azimuth ] attrib
val a_elevation : float -> [> `Elevation ] attrib
val a_pointatx : float -> [> `PointsAtX ] attrib
val a_pointaty : float -> [> `PointsAtY ] attrib
val a_pointatz : float -> [> `PointsAtZ ] attrib
val a_specularexponent : float -> [> `SpecularExponent ] attrib
val a_specularconstant : float -> [> `SpecularConstant ] attrib
val a_limitingconeangle : float -> [> `LimitingConeAngle ] attrib
val a_mode : [< `Darken | `Lighten | `Multiply | `Normal | `Screen ] -> [> `Mode ] attrib
val a_typefecolor : [< `HueRotate | `LuminanceToAlpha | `Matrix | `Saturate ] -> [> `Type__fecolor ] attrib
val a_values : Svg_types.numbers -> [> `Values ] attrib
val a_transferttype : [< `Discrete | `Gamma | `Identity | `Linear | `Table ] -> [> `Type__transfert ] attrib
val a_tablevalues : Svg_types.numbers -> [> `TableValues ] attrib
val a_intercept : Svg_types.number -> [> `Intercept ] attrib
val a_amplitude : Svg_types.number -> [> `Amplitude ] attrib
val a_exponent : Svg_types.number -> [> `Exponent ] attrib
val a_offsettransfer : Svg_types.number -> [> `Offset__transfer ] attrib
val a_operator : [< `Arithmetic | `Atop | `In | `Out | `Over | `Xor ] -> [> `Operator ] attrib
val a_k1 : Svg_types.number -> [> `K1 ] attrib
val a_k2 : Svg_types.number -> [> `K2 ] attrib
val a_k3 : Svg_types.number -> [> `K3 ] attrib
val a_k4 : Svg_types.number -> [> `K4 ] attrib
val a_order : Svg_types.number_optional_number -> [> `Order ] attrib
val a_kernelmatrix : Svg_types.numbers -> [> `KernelMatrix ] attrib
val a_divisor : Svg_types.number -> [> `Divisor ] attrib
val a_bias : Svg_types.number -> [> `Bias ] attrib
val a_kernelunitlength : Svg_types.number_optional_number -> [> `KernelUnitLength ] attrib
val a_targetX : int -> [> `TargetX ] attrib
val a_targetY : int -> [> `TargetY ] attrib
val a_edgemode : [< `Duplicate | `None | `Wrap ] -> [> `TargetY ] attrib
val a_preservealpha : bool -> [> `TargetY ] attrib
val a_surfacescale : Svg_types.number -> [> `SurfaceScale ] attrib
val a_diffuseconstant : Svg_types.number -> [> `DiffuseConstant ] attrib
val a_scale : Svg_types.number -> [> `Scale ] attrib
val a_xchannelselector : [< `A | `B | `G | `R ] -> [> `XChannelSelector ] attrib
val a_ychannelselector : [< `A | `B | `G | `R ] -> [> `YChannelSelector ] attrib
val a_stddeviation : Svg_types.number_optional_number -> [> `StdDeviation ] attrib
val a_operatormorphology : [< `Dilate | `Erode ] -> [> `OperatorMorphology ] attrib
val a_radius : Svg_types.number_optional_number -> [> `Radius ] attrib
val a_basefrenquency : Svg_types.number_optional_number -> [> `BaseFrequency ] attrib
val a_numoctaves : int -> [> `NumOctaves ] attrib
val a_seed : Svg_types.number -> [> `Seed ] attrib
val a_stitchtiles : [< `NoStitch | `Stitch ] -> [> `StitchTiles ] attrib
val a_stitchtype : [< `FractalNoise | `Turbulence ] -> [> `TypeStitch ] attrib
val a_xlinkshow : [< `New | `Replace ] -> [> `Xlink_show ] attrib
val a_xlinkactuate : [< `OnRequest ] -> [> `Xlink_actuate ] attrib
val a_target : string -> [> `Xlink_target ] attrib
val a_viewtarget : string -> [> `ViewTarget ] attrib
val a_attributename : string -> [> `AttributeName ] attrib
val a_attributetype : [< `Auto | `CSS | `XML ] -> [> `AttributeType ] attrib
val a_begin : string -> [> `Begin ] attrib
val a_dur : string -> [> `Dur ] attrib
val a_min : string -> [> `Min ] attrib
val a_max : string -> [> `Max ] attrib
val a_restart : [< `Always | `Never | `WhenNotActive ] -> [> `Restart ] attrib
val a_repeatcount : string -> [> `RepeatCount ] attrib
val a_repeatdur : string -> [> `RepeatDur ] attrib
val a_fill : [< `Freeze | `Remove ] -> [> `Fill ] attrib
val a_calcmode : [< `Discrete | `Linear | `Paced | `Spline ] -> [> `CalcMode ] attrib
val a_values_anim : Svg_types.strings -> [> `Values__anim ] attrib
val a_keytimes : Svg_types.strings -> [> `KeyTimes ] attrib
val a_keysplines : Svg_types.strings -> [> `KeySplines ] attrib
val a_from : string -> [> `From ] attrib
val a_to : string -> [> `To ] attrib
val a_by : string -> [> `By ] attrib
val a_additive : [< `Replace | `Sum ] -> [> `Additive ] attrib
val a_accumulate : [< `None | `Sum ] -> [> `Accumulate ] attrib
val a_keypoints : Svg_types.numbers_semicolon -> [> `KeyPoints ] attrib
val a_path : string -> [> `Path ] attrib
val a_typeanimatecolor : [ `Rotate | `Scale | `SkewX | `SkewY | `Translate ] -> [ `Type__animatecolor ] attrib
val a_horiz_origin_x : Svg_types.number -> [> `Horiz___origin___x ] attrib
val a_horiz_origin_y : Svg_types.number -> [> `Horiz___origin___y ] attrib
val a_horiz_adv_x : Svg_types.number -> [> `Horiz___adv___x ] attrib
val a_vert_origin_x : Svg_types.number -> [> `Vert___origin___x ] attrib
val a_vert_origin_y : Svg_types.number -> [> `Vert___origin___y ] attrib
val a_vert_adv_y : Svg_types.number -> [> `Vert___adv___y ] attrib
val a_unicode : string -> [> `Unicode ] attrib
val a_glyphname : string -> [> `glyphname ] attrib
val a_orientation : [< `H | `V ] -> [> `Orientation ] attrib
val a_arabicform : [< `Initial | `Isolated | `Medial | `Terminal ] -> [> `Arabic___form ] attrib
val a_lang : string -> [> `Lang ] attrib
val a_u1 : string -> [> `U1 ] attrib
val a_u2 : string -> [> `U2 ] attrib
val a_g1 : string -> [> `G1 ] attrib
val a_g2 : string -> [> `G2 ] attrib
val a_k : string -> [> `K ] attrib
val a_fontfamily : string -> [> `Font___Family ] attrib
val a_fontstyle : string -> [> `Font___Style ] attrib
val a_fontvariant : string -> [> `Font___Variant ] attrib
val a_fontweight : string -> [> `Font___Weight ] attrib
val a_fontstretch : string -> [> `Font___Stretch ] attrib
val a_fontsize : string -> [> `Font___Size ] attrib
val a_unicoderange : string -> [> `Unicode___Range ] attrib
val a_unitsperem : string -> [> `Units___Per___Em ] attrib
val a_stemv : Svg_types.number -> [> `Stemv ] attrib
val a_stemh : Svg_types.number -> [> `Stemh ] attrib
val a_slope : Svg_types.number -> [> `Slope ] attrib
val a_capheight : Svg_types.number -> [> `Cap___Height ] attrib
val a_xheight : Svg_types.number -> [> `X___Height ] attrib
val a_accentheight : Svg_types.number -> [> `Accent___Height ] attrib
val a_ascent : Svg_types.number -> [> `Ascent ] attrib
val a_widths : string -> [> `Widths ] attrib
val a_bbox : string -> [> `Bbox ] attrib
val a_ideographic : Svg_types.number -> [> `Ideographic ] attrib
val a_alphabetic : Svg_types.number -> [> `Alphabetic ] attrib
val a_mathematical : Svg_types.number -> [> `Mathematical ] attrib
val a_hanging : Svg_types.number -> [> `Hanging ] attrib
val a_videographic : Svg_types.number -> [> `V___Ideographic ] attrib
val a_valphabetic : Svg_types.number -> [> `V___Alphabetic ] attrib
val a_vmathematical : Svg_types.number -> [> `V___Mathematical ] attrib
val a_vhanging : Svg_types.number -> [> `V___Hanging ] attrib
val a_underlineposition : Svg_types.number -> [> `Underline___Position ] attrib
val a_underlinethickness : Svg_types.number -> [> `Underline___Thickness ] attrib
val a_strikethroughposition : Svg_types.number -> [> `Strikethrough___Position ] attrib
val a_strikethroughthickness : Svg_types.number -> [> `Strikethrough___Thickness ] attrib
val a_overlineposition : Svg_types.number -> [> `Overline___Position ] attrib
val a_overlinethickness : Svg_types.number -> [> `Overline___Thickness ] attrib
val a_string : string -> [> `String ] attrib
val a_name : string -> [> `Name ] attrib
val a_onabort : string -> [> `Onabort ] attrib
val a_onactivate : string -> [> `Onactivate ] attrib
val a_onbegin : string -> [> `Onbegin ] attrib
val a_onclick : string -> [> `Onclick ] attrib
val a_onend : string -> [> `Onend ] attrib
val a_onerror : string -> [> `Onerror ] attrib
val a_onfocusin : string -> [> `Onfocusin ] attrib
val a_onfocusout : string -> [> `Onfocusout ] attrib
val a_onload : string -> [> `Onload ] attrib
val a_onmousedown : string -> [> `Onmousdown ] attrib
val a_onmouseup : string -> [> `Onmouseup ] attrib
val a_onmouseover : string -> [> `Onmouseover ] attrib
val a_onmouseout : string -> [> `Onmouseout ] attrib
val a_onmousemove : string -> [> `Onmousemove ] attrib
val a_onrepeat : string -> [> `Onrepeat ] attrib
val a_onresize : string -> [> `Onresize ] attrib
val a_onscroll : string -> [> `Onscroll ] attrib
val a_onunload : string -> [> `Onunload ] attrib
val a_onzoom : string -> [> `Onzoom ] attrib
val metadata : ?a:Svg_types.metadata_attr attrib list -> Xml.elt list -> [> Svg_types.metadata ] elt
val foreignobject : ?a:Svg_types.foreignobject_attr attrib list -> Xml.elt list -> [> Svg_types.foreignobject ] elt
val tot : Xml.elt -> 'a elt
val totl : Xml.elt list -> 'a elt list
val toelt : 'a elt -> Xml.elt
val toeltl : 'a elt list -> Xml.elt list
val to_xmlattribs : 'a attrib list -> Xml.attrib list
val to_attrib : Xml.attrib -> 'a attrib
type doc = [ `Svg ] elt
val doc_toelt : doc -> Xml.elt
OCaml

Innovation. Community. Security.