I have an xml file content of svg file and i want to add that as a svg image to word document.I thought of creating svg from xml and converting to jpg and then adding that to word document but this is not the efficient way.So is there any other alternative to my problem
Hello svntdeepak.
Can you please describe more about your XML? How is the SVN embedded inside your XML? Is there a encoding of the whole SVG file?
if we open the SVG image file content ,it is nothing but XML contenet.In my databse i will get this XML content which in return if we save that as .svg it is nothing but a SVG image.Now my requirement is to embed that SVG image in word document.but word dont support adding svg.whether can i do it using docmosis
Hello svntdeepak.
There might be a way... but you will need to do this manually to see if the results are good enough for your purposes.
OpenOffice doesn't currently support SVG format images. LibreOffice does and yes it can re-produce the image in Word.
Please try this:
1) download and install Libra Office on your development machine
2) Start Libre Office and create a blank Writer document
3) Insert->Picture->From File...
4) find and insert some of your SVG files
5) File->Save As and choose Word97 format
6) Open the new doc file you saved in Word
If the images display well enough for you, then let us know. We are likely to be able to upgrade Docmosis to support SVG injection.
