O'Reilly logo

DocBook 5: The Definitive Guide by Richard L. Hamilton, Norman Walsh

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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>

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required