Make discard example not mention SVG Tiny 1.2.
authorCameron McCormack <cam@mcc.id.au>
Mon, 20 Aug 2012 10:39:36 +1000
changeset 288 7d314e7190cb
parent 287 9fedc642bc1d
child 289 d6e03a9d891b
Make discard example not mention SVG Tiny 1.2.
master/examples/discard01.svg
master/struct.html
--- a/master/examples/discard01.svg	Mon Aug 20 10:32:04 2012 +1000
+++ b/master/examples/discard01.svg	Mon Aug 20 10:39:36 2012 +1000
@@ -1,6 +1,4 @@
-<?xml version="1.0"?>
-<svg xmlns="http://www.w3.org/2000/svg" version="1.2" baseProfile="tiny" 
-     width="352" height="240" playbackOrder="forwardOnly">
+<svg xmlns="http://www.w3.org/2000/svg" width="352" height="240" playbackOrder="forwardOnly">
     
   <ellipse cx="98.5" cy="17.5" rx="20.5" ry="17.5" fill="blue" stroke="black" 
            transform="translate(9 252) translate(3 -296)">
--- a/master/struct.html	Mon Aug 20 10:32:04 2012 +1000
+++ b/master/struct.html	Mon Aug 20 10:39:36 2012 +1000
@@ -647,35 +647,7 @@
   </dd>
 </dl>
 
-<div class="example"><div class="exampleheader"><strong>Example:</strong> <a href="examples/discard01.svg">discard01.svg</a></div><div class="examplesource"><pre>&lt;?xml version="1.0"?&gt;
-&lt;svg xmlns="http://www.w3.org/2000/svg" version="1.2" baseProfile="tiny" 
-     width="352" height="240" playbackOrder="forwardOnly"&gt;
-    
-  &lt;ellipse cx="98.5" cy="17.5" rx="20.5" ry="17.5" fill="blue" stroke="black" 
-           transform="translate(9 252) translate(3 -296)"&gt;
-    &lt;animateTransform attributeName="transform" begin="0s" dur="2s" fill="remove"
-                      calcMode="linear" type="translate" additive="sum"
-                      from="0 0" to="-18 305"/&gt;
-    &lt;discard begin="2s"/&gt;
-  &lt;/ellipse&gt;
-  
-  &lt;rect x="182" y="-39" width="39" height="30" fill="red" stroke="black"
-        transform="translate(30 301)"&gt;
-    &lt;animateTransform attributeName="transform" begin="1s" dur="2s" fill="remove"
-                      calcMode="linear" type="translate" additive="sum"
-                      from="0 0" to="-26 -304"/&gt;
-    &lt;discard begin="3s"/&gt;
-  &lt;/rect&gt;
-  
-  &lt;polygon points="-66,83.5814 -43,123.419 -89,123.419" fill="green" stroke="black" 
-           transform="matrix(1 0 0 1.1798 0 -18.6096)"&gt;
-    &lt;animateTransform attributeName="transform" begin="2s" dur="2s"
-                      fill="remove" calcMode="linear" type="translate" additive="sum"
-                      from="0 0" to="460 63.5699"/&gt;
-    &lt;discard begin="4s"/&gt;
-  &lt;/polygon&gt;
-&lt;/svg&gt;
-</pre></div></div>
+<edit:example href='examples/discard01.svg' name='discard01' link='yes' image='no'/>
 
 </edit:with>