DocBook Publishers: The Definitive Guide (Version 1.2.1 for DocBook 5.1)
svg:*
svg:* — Any element from the SVG namespace.
Synopsis
svg:* ::=
- Any element from the http://www.w3.org/2000/svg namespace.
Attributes
Attributes:
- Zero or more:
- 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
None.
- 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>