I have an SVG document, and I would like to include an external svg image within it, i.e. something like:
<object data="logo.svgz" width="100" height="100" x="200" y="400"/>
("object" is just an example – the outer document will be SVG rather than xhtml).
Any ideas? Is this even possible? Or is the best thing for me to simply slap the logo.svg xml into my outer SVG document?
Best Answer
Use the
image
element and reference your SVG file. For fun, save the following asrecursion.svg
: