/ libxml2 / result / SVG / viewport-nest.xml
viewport-nest.xml
 1  <?xml version="1.0" standalone="no"?>
 2  <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG April 1999//EN" "http://www.w3.org/Graphics/SVG/svg-19990412.dtd">
 3  <svg width="4in" height="3in">
 4    <desc>This SVG drawing embeds another one,
 5      thus establishing a new viewport
 6    </desc>
 7  <!-- The following statement establishing a new viewport
 8         and renders SVG drawing B into that viewport -->
 9    <svg style="left: 25%; top: 25%" width="50%" height="50%">
10  <!-- drawing B goes here -->
11    </svg>
12  </svg>