1 <?xml version=
"1.0" encoding=
"UTF-8"?>
2 <!DOCTYPE svg PUBLIC
"-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd">
3 <svg xmlns=
"http://www.w3.org/2000/svg" xmlns:
xlink=
"http://www.w3.org/1999/xlink">
5 <rect id=
"target1" width=
"150" height=
"100" fill=
"green"/>
6 <rect id=
"target2" y=
"150" width=
"150" height=
"100" fill=
"green"/>
8 <!-- an1: Change width by -100 in 4s on target1. The embedder script will change the target to 'target2' at 2s. -->
9 <!-- target1 should be 100px at 2s and remain this way. target2 should be 50px and remain this way. -->
10 <animate id=
"an1" xlink:
href=
"#target1" attributeType=
"XML" attributeName=
"width" fill=
"freeze" by=
"-100" begin=
"0s" dur=
"4s"/>