xml - Embed SVG in SVG? -


I have a SVG document, and I would like to include an external STVG image inside it, such as:

  & lt; Object data = "logo.svgz" width = "100" height = "100" x = "200" y = "400" />   

("Object" is just an example - external document will be SVG instead of XHTM).

Any thoughts? Is this also possible? Or in my external SVG document, what's the best thing to just slap the logo. Svg xml?

Use the element and reference your SVG file. For fun, recursion.svg :

  & lt; Svg width = "100%" height = "100%" visible box = "-100 -100 200 200" version = "1.1" xmlns = "http://www.w3.org/2000/svg" xmlns: Xlink = "http://www.w3.org/1999/xlink" & gt; & Lt; Circle cx = "- 50" cy = "- 50" r = "30" style = "fill: red" /> & Lt; Image x = "10" y = "20" width = "80" height = "80" xlink: href = "recursion.svg" /> & Lt; / Svg & gt;    

Comments

Popular posts from this blog

qt - switch/case statement in C++ with a QString type -

python - sqlite3.OperationalError: near "REFERENCES": syntax error - foreign key creating -

Python's equivalent for Ruby's define_method? -