Module Svg.Unsafe
Unsafe features.
Using this module can break SVG validity and may introduce security problems like code injection. Use it with care.
val node :
string ->
?a:'a Svg.attrib list ->
'b Svg.elt Svg.list_wrap ->
'c Svg.eltInsert an XML node that is not implemented in this module. If it is a standard SVG node which is missing, please report to the Ocsigen team.
val leaf : string -> ?a:'a Svg.attrib list -> unit -> 'b Svg.eltInsert an XML node without children that is not implemented in this module. If it is a standard SVG node which is missing, please report to the Ocsigen team.
Remove phantom type annotation on an element, to make it usable everywhere.
val string_attrib : string -> string Svg.wrap -> 'a Svg.attribInsert an attribute that is not implemented in this module. If it is a standard SVG attribute which is missing, please report to the Ocsigen team.
val float_attrib : string -> float Svg.wrap -> 'a Svg.attribSame, for float attribute
val int_attrib : string -> int Svg.wrap -> 'a Svg.attribSame, for int attribute
val uri_attrib : string -> Svg.uri Svg.wrap -> 'a Svg.attribSame, for URI attribute
val space_sep_attrib : string -> string list Svg.wrap -> 'a Svg.attribSame, for a space separated list of values
val comma_sep_attrib : string -> string list Svg.wrap -> 'a Svg.attribSame, for a comma separated list of values