Is it possible to use Scalable Vector Graphics (SVG) files in Zope ? If so, is there an example of using one? Regards, David
You can use the File object to upload and store SVG files. That's it. Andreas --------------------------------------------------------------------- - Andreas Jung Zope Corporation - - EMail: andreas@zope.com http://www.zope.com - - "Python Powered" http://www.python.org - - "Makers of Zope" http://www.zope.org - - "Endings are just Beginnings" - --------------------------------------------------------------------- ----- Original Message ----- From: D K Systems Inc. To: zope@zope.org Sent: Saturday, October 13, 2001 21:52 Subject: [Zope] SVG files in Zope Is it possible to use Scalable Vector Graphics (SVG) files in Zope ? If so, is there an example of using one? Regards, David
"D K Systems Inc." wrote:
Is it possible to use Scalable Vector Graphics (SVG) files in Zope ?
As SVG is XML you can probably use ParsedXML to store and manipulate them.
If so, is there an example of using one?
None that I know of.
Regards, David
Hi David, I have tested SVG with Zope. You can put the XML File (SVG) inside a dtml document. Only thing you have to do is to set the header at the beginning of the document. <dtml-call "RESPONSE.setHeader('Content-Type', 'image/svg+xml')"> Then you can call it from another objekt and integrate the SVG file inside your HTML code. <OBJECT data="test.svg" type="image/svg+xml"> This is a <EM>closeup</EM> of the Grand Canyon. </OBJECT> Cheers Jens ----- Original Message ----- From: D K Systems Inc. To: zope@zope.org Sent: Sunday, October 14, 2001 3:52 AM Subject: [Zope] SVG files in Zope Is it possible to use Scalable Vector Graphics (SVG) files in Zope ? If so, is there an example of using one? Regards, David
participants (4)
-
Andreas Jung -
D K Systems Inc. -
Hannu Krosing -
Jens Grewen