Name

svg:* — Any element from the SVG namespace

Synopsis

svg:* ::= Any element from the http://www.w3.org/2000/svg namespace

Attribute synopsis

Attributes:

  • Zero or more of:

    • Any attribute

Description

This position in a content model can be occupied by any element in the SVG namespace.

The Scalable Vector Graphics Recommendation from the W3C defines the features and syntax for SVG, a language for describing two-dimensional vector and mixed vector/raster graphics in XML.

A complete description of SVG is outside the scope of this reference.

Attributes

any attribute

Any attribute, including any attribute in any namespace

Examples

<article xmlns='http://docbook.org/ns/docbook'
	 version="5.0">
<title>Example svg-svg</title>

<mediaobject>
  <imageobject>
    <imagedata>
      <svg xmlns="http://www.w3.org/2000/svg"
	   width="100" height="100" version="1.1">
	<rect x="20" y="20" width="80" height="80"
	      style="fill:blue; stroke:green; stroke-width: 2;
		     fill-opacity: 0.5; stroke-opacity: 0.9"/>
      </svg>
    </imagedata>
  </imageobject>
</mediaobject>

</article>

Get DocBook 5: The Definitive Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.