Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 29064 invoked from network); 14 Jun 2006 06:36:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 14 Jun 2006 06:36:37 -0000 Received: (qmail 57811 invoked by uid 500); 14 Jun 2006 06:36:32 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 57623 invoked by uid 500); 14 Jun 2006 06:36:31 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: users@cocoon.apache.org List-Id: Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 57612 invoked by uid 99); 14 Jun 2006 06:36:31 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Jun 2006 23:36:31 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [146.64.10.166] (HELO wabe.csir.co.za) (146.64.10.166) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Jun 2006 23:36:30 -0700 Received: from cs-emo.csir.co.za (cs-emo.csir.co.za [146.64.10.40]) by wabe.csir.co.za (8.13.6/8.13.4) with ESMTP id k5E6ZwBw016727 for ; Wed, 14 Jun 2006 08:35:58 +0200 Received: from GW-EMO-MTA by cs-emo.csir.co.za with Novell_GroupWise; Wed, 14 Jun 2006 08:35:58 +0200 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.5.4 Date: Wed, 14 Jun 2006 08:35:35 +0200 From: "Derek Hohls" To: Subject: RE: adding an SVG element to xhtml Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-CSIR-MailScanner-Information: Please contact sys-admin at csir dot co dot za for more information X-CSIR-MailScanner: Found to be clean X-MailScanner-From: dhohls@csir.co.za X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hmm. I have never been able to get the tag to work in Firefox. Please let us know how this is done. =20 As a sidenote; working with SVG across multiple types of browsers is,=20 unfortunately, quite problematic at present. Best to apply it in a=20 situation where you know what the end users software is eg. an intraweb. =20 In the worst case, you could transform the SVG to JPEG - using a=20 method similar to the one below - and this will display OK in all browsers. >>> bb@bogaarts.nl 2006/06/14 08:28 AM >>> Hello Marco, What you are trying to do is to create inline SVG in an HTML page like you = would do in XSL-FO files. This is possible, but your solution would need a = different approach per browser. However, I think that it would be a much ea= sier solution to create one more page that just creates the SVG image. You = would refer to this image from the HTML page that you create (by using the = 'src' attribute). This could look something like: Be sure to set the correct content type in the page that generates the image You could pass parameters to the page that creates the image to make the im= age generation dynamic. I hope this helps! Bj=F6rn ________________________________________ Van: 321los@googlemail.com [mailto:321los@googlemail.com]=20 Verzonden: dinsdag 13 juni 2006 18:01 Aan: users@cocoon.apache.org=20 Onderwerp: adding an SVG element to xhtml Hi, when generating a pdf in which I want to include an SVG element, I can do i= t like that: .... =20=20=20=20=20=20=20 =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 =20 =20 =20 =20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20 =20 =20 place a=20 place b =20 now, I want to include the same object in my xhtml file, (generate xml file= , transform xsl-->output=3Dxhtml). I am wondering, what the syntax is like; that does not seem to work: < object type=3D"image/svg+xml"> =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20 ... .... plus, do I need to add s.th in the sitemap? Just FYI, my aim is to display a map (the map.jpg in the svg:image tag) and= draw an arrow into the map, depending on the chosen place. place a and pla= ce b (in the text tag) are static, the arrow is generated dynamically=20 Thank you very much Marco --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org=20 For additional commands, e-mail: users-help@cocoon.apache.org=20 --=20 This message is subject to the CSIR's copyright, terms and conditions and e-mail legal notice. Views expressed herein do not necessarily represent the views of the CSIR. =20 CSIR E-mail Legal Notice http://mail.csir.co.za/CSIR_eMail_Legal_Notice.html=20 =20 CSIR Copyright, Terms and Conditions http://mail.csir.co.za/CSIR_Copyright.html=20 =20 For electronic copies of the CSIR Copyright, Terms and Conditions and the C= SIR Legal Notice send a blank message with REQUEST LEGAL in the subject line to HelpDesk@csir.co.za. This message has been scanned for viruses and dangerous content by MailScan= ner,=20 and is believed to be clean. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org