Vkládání SVG obrázků přímo do FO

Příklad 5. Vložení obrázku SVG přímo mezi formátovací objekty

<fo:instream-foreign-object content-width="16cm">
  <svg viewBox="0 0 400 400" xmlns="http://www.w3.org/2000/svg">
    <desc>This is a blue circle with a red outline</desc>
    <g>
      <circle style="fill: blue; stroke: red" cx="200" cy="200" r="100"/>
      <text x="150" y="160" stroke="yellow" fill="white" 
	    font-weight="bold" font-size="20">Hello World</text>
    </g>
  </svg>
</fo:instream-foreign-object>