How many levels of recursion does SVG support?

SVG when used as an image must be complete in a single file.

  • a.svg is not an image
  • b.svg is included as an image by a.svg and is therefore subject to the complete in a single file image rule so any images it contains must be included as data URIs.
  • c.svg is ignored as b.svg cannot refer to external files.

Convert c.svg to a data URI and include it inline in b.svg to get round this.

Leave a Comment