Correction of namespeaces
[xmldoc.git] / doc / block.xml
index 91459b6..60ad324 100644 (file)
@@ -254,27 +254,27 @@ will load the SVG drawing from an external file:
 </para>
 <para>
 When the <strong>src</strong> attribute is omitted, all available SVG
-elements can be used within the XML document:
+elements can be used within the XML document, of course with the proper namespace declaration:
 
 <example>
-   &lt;svg&gt;
-      &lt;clipPath id="a"&gt;
-         &lt;circle cy="90" cx="100" r="60"/&gt;
-      &lt;/clipPath&gt;
-      &lt;circle fill="#AAAAAA" cy="90" cx="190"
+   &lt;svg xmlns:svg="http://www.w3.org/2000/svg"&gt;
+      &lt;svg:clipPath id="a"&gt;
+         &lt;svg:circle cy="90" cx="100" r="60"/&gt;
+      &lt;/svg:clipPath&gt;
+      &lt;svg:circle fill="#AAAAAA" cy="90" cx="190"
                  r="60" style="clip-path:url(#a)"/&gt;
-      &lt;circle stroke="black" fill="none" cy="90" cx="100" r="60"/&gt;
-      &lt;circle stroke="blue" fill="none" cy="90" cx="190" r="60"/&gt;
+      &lt;svg:circle stroke="black" fill="none" cy="90" cx="100" r="60"/&gt;
+      &lt;svg:circle stroke="blue" fill="none" cy="90" cx="190" r="60"/&gt;
    &lt;/svg&gt;
 </example>
-<svg>
-   <clipPath id="a">
-      <circle cy="90" cx="100" r="60"/>
-   </clipPath>
-   <circle fill="#AAAAAA" cy="90" cx="190"
+<svg xmlns:svg="http://www.w3.org/2000/svg">
+   <svg:clipPath id="a">
+      <svg:circle cy="90" cx="100" r="60"/>
+   </svg:clipPath>
+   <svg:circle fill="#AAAAAA" cy="90" cx="190"
               r="60" style="clip-path:url(#a)"/>
-   <circle stroke="black" fill="none" cy="90" cx="100" r="60"/>
-   <circle stroke="blue" fill="none" cy="90" cx="190" r="60"/>
+   <svg:circle stroke="black" fill="none" cy="90" cx="100" r="60"/>
+   <svg:circle stroke="blue" fill="none" cy="90" cx="190" r="60"/>
 </svg>
 
 </para>