SVG support == Description == HOP supports a subset of the SVG markups as defined in the [[http://www.w3.org/TR/SVG11/|Scalable Vector Graphics (SVG) 1.1 Specification]]. Future versions of HOP are likely to extend the set of supported markups. ~~ In addition to regular SVG markups, HOP supports the additional ++++ markup that allows SVG images to be //inlined// inside Web pages. ~~ Note: ,( :style { font-weight: bold; color: red } [ Embedding SVG markups inside Web pages with Firefox is currently operational only using XHTML. It does not work with HTML.]) == Synopsis == === Server === ( arg ...) ( arg ...) ( arg ...) ( arg ...) ( ...) ( ...) ( arg ...) ( arg ...) ( arg ...) ( arg ...) ( arg ...) ( arg ...) ( arg ...) ( arg ...) ( arg ...) ( arg ...) ( arg ...) ( arg ...) == Examples == == Server Definitions == === SVG regular markups === ^ attributes ^ type ^ default ^ short description ^ | :id | string | //random// | element identifier. | | ... | ... | ++_++ | ... | These markups conform the W3C's [[[http://www.w3.org/TR/SVG11/|Scalable Vector Graphics (SVG) 1.1 Specification]] so they are not described here. === ++++ === ^ attributes ^ type ^ default ^ short description ^ | :id | string | //random// | element identifier. | | src | string | | the path of the SVG image. | | width | number or bool | ++#f++ | the image width. | | height | number or bool | ++#f++ | the image height. | | style | string | | the XML image style. | | prefix | bool | | prefix the SVG markup of the image. | The markup ++++ reads and parses an SVG image found in a external document. The interned DOM tree representing that image is **inlined** inside the produced XML document. Hence, the ++++ markup can be conveniently used to produce documents that contain no external references. ~~ If one SVG image has to be included twice, the elements of the image have to be given fresh names in order to avoid name collision in the document tree. This is the purpose of the ++prefix++ and ++id++ arguments. When an ++id++ is specified and when ++prefix++ is ++#t++, then, all the identifier of elements contained in the image are prefixed with ++id++. == See also ==