[svg-developers] Re: cursors
Cursors are not implemented in the Adobe viewer. There is no chance to get them working, except maybe the pointer cursor by putting an empty anchor tag around the elements where you want to have the pointer (not that I recommend this practice, but it is possible). All other viewers (Batik, Opera, Firefox, Safari) support SVG cursors, though. So I recommend to use cursors but accept the fact that IE/ASV users can't use them. Andreas --- In svg-developers@yahoogroups.com, Mick [EMAIL PROTECTED] wrote: What is the timing on cursor properties being implemented for containers in Adobe's SVG viewer? Is there any other way I can change cursors in an SVG document at present? I saw the cursor element is defined in the DTD, but I can't seem to make it work. regards Mick - To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click edit my membership Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[svg-developers] HTML-SVG in Firefox
Hi developers I have a problem with the HTML-to-SVG communication in Firefox. I made a simple example: html_svg.html: !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN html head titleFrom HTML to SVG/title script type=text/javascript!-- function init() { var svgdoc = document.getElementById(mySVG).getSVGDocument(); svgdoc.getElementById(datetext).firstChild.nodeValue = 30; } //--/script /head body onload=init() h1HTML to SVG Test/h1 object type=image/svg+xml data=svg.svg width=200 height=200 id=mySVG embed name=mySVG type=image/svg+xml src=svg.svg / /object pIs this test working?/p /body /html svg.svg: ?xml version=1.0 ? !DOCTYPE svg PUBLIC -//W3C//DTD SVG 1.0//EN http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd; svg width=150px height=100px xmlns=http://www.w3.org/2000/svg; text id=datetext x=10 y=50 /text /svg Firefox 2.0.0.3 (WinXP SP2) says, that getSVGDocument is not a function. In other browsers like Opera 9.10 and IE 7 the example works. Can someone of you give me a hint, why the error in Firefox occurs? Thanks Olaf -- Dr. Olaf Schnabel ETH Zurich Institute of Cartography CH-8093 Zurich Switzerland tel:++41 44 633 3031 fax:++41 44 633 1153 e-mail: [EMAIL PROTECTED] www1: http://www.ika.ethz.ch/schnabel www2: http://www.e-cartouche.ch - To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click edit my membership Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[svg-developers] parseXML eSVG problem
Dear Group! I have great troubles reading an XML files on a Pocket PC device via use of eSVG. The following code works perfectly well with any PC based viewer. function readWP(url) { getURL(url, buildWaypointArray); } function buildArray(data) { if (data.success) { wpk = parseXML(data.content).documentElement.firstChild.nodeValue; wpp = wpk.split(,); } I assume it´s a syntax thing, but can´t figure it out. Debugging has shown that the if (data.success) statement is true, and it stops processing with the parseXML command. Help is greatly appreciated! Thanks, Andreas Reimer PS: The parseXML is definitely supported in eSVG 2.4+ according to the documentation and works of others. - To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click edit my membership Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [svg-developers] HTML-SVG in Firefox
Hi, Why do you even have to use getSVGDocument. The document is the svg document and root is document.documentElement. Cheers, Chris -Original Message- From: svg-developers@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Olaf Schnabel Sent: Donnerstag, 29. März 2007 14:47 To: svg-developers Subject: [svg-developers] HTML-SVG in Firefox Hi developers I have a problem with the HTML-to-SVG communication in Firefox. I made a simple example: html_svg.html: !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN html head titleFrom HTML to SVG/title script type=text/javascript!-- function init() { var svgdoc = document.getElementById(mySVG).getSVGDocument(); svgdoc.getElementById(datetext).firstChild.nodeValue = 30; } //--/script /head body onload=init() h1HTML to SVG Test/h1 object type=image/svg+xml data=svg.svg width=200 height=200 id=mySVG embed name=mySVG type=image/svg+xml src=svg.svg / /object pIs this test working?/p /body /html svg.svg: ?xml version=1.0 ? !DOCTYPE svg PUBLIC -//W3C//DTD SVG 1.0//EN http://www.w3. http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd svg width=150px height=100px xmlns=http://www.w3. http://www.w3.org/2000/svg org/2000/svg text id=datetext x=10 y=50 /text /svg Firefox 2.0.0.3 (WinXP SP2) says, that getSVGDocument is not a function. In other browsers like Opera 9.10 and IE 7 the example works. Can someone of you give me a hint, why the error in Firefox occurs? Thanks Olaf -- Dr. Olaf Schnabel ETH Zurich Institute of Cartography CH-8093 Zurich Switzerland tel: ++41 44 633 3031 fax: ++41 44 633 1153 e-mail: [EMAIL PROTECTED] mailto:schnabel%40karto.baug.ethz.ch baug.ethz.ch www1: http://www.ika. http://www.ika.ethz.ch/schnabel ethz.ch/schnabel www2: http://www.e- http://www.e-cartouche.ch cartouche.ch [Non-text portions of this message have been removed] - To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click edit my membership Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [svg-developers] HTML-SVG in Firefox
Hi Chris well, in SVG itself you can use these terms. But if you have a script outside of SVG, the access to SVG unfortunately doesn't work so simple :-( Regards Olaf Chris Peto wrote: Hi, Why do you even have to use getSVGDocument. The document is the svg document and root is document.documentElement. Cheers, Chris -Original Message- From: svg-developers@yahoogroups.com mailto:svg-developers%40yahoogroups.com [mailto:svg-developers@yahoogroups.com mailto:svg-developers%40yahoogroups.com] On Behalf Of Olaf Schnabel Sent: Donnerstag, 29. März 2007 14:47 To: svg-developers Subject: [svg-developers] HTML-SVG in Firefox Hi developers I have a problem with the HTML-to-SVG communication in Firefox. I made a simple example: html_svg.html: !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN html head titleFrom HTML to SVG/title script type=text/javascript!-- function init() { var svgdoc = document.getElementById(mySVG).getSVGDocument(); svgdoc.getElementById(datetext).firstChild.nodeValue = 30; } //--/script /head body onload=init() h1HTML to SVG Test/h1 object type=image/svg+xml data=svg.svg width=200 height=200 id=mySVG embed name=mySVG type=image/svg+xml src=svg.svg / /object pIs this test working?/p /body /html svg.svg: ?xml version=1.0 ? !DOCTYPE svg PUBLIC -//W3C//DTD SVG 1.0//EN http://www.w3. http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd svg width=150px height=100px xmlns=http://www.w3. http://www.w3.org/2000/svg http://www.w3.org/2000/svg org/2000/svg text id=datetext x=10 y=50 /text /svg Firefox 2.0.0.3 (WinXP SP2) says, that getSVGDocument is not a function. In other browsers like Opera 9.10 and IE 7 the example works. Can someone of you give me a hint, why the error in Firefox occurs? Thanks Olaf -- Dr. Olaf Schnabel ETH Zurich Institute of Cartography CH-8093 Zurich Switzerland tel: ++41 44 633 3031 fax: ++41 44 633 1153 e-mail: [EMAIL PROTECTED] mailto:schnabel%40karto.baug.ethz.ch baug.ethz.ch www1: http://www.ika. http://www.ika.ethz.ch/schnabel http://www.ika.ethz.ch/schnabel ethz.ch/schnabel www2: http://www.e- http://www.e-cartouche.ch http://www.e-cartouche.ch cartouche.ch [Non-text portions of this message have been removed] -- Dr. Olaf Schnabel ETH Zurich Institute of Cartography CH-8093 Zurich Switzerland tel:++41 44 633 3031 fax:++41 44 633 1153 e-mail: [EMAIL PROTECTED] www1: http://www.ika.ethz.ch/schnabel www2: http://www.e-cartouche.ch - To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click edit my membership Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[svg-developers] Re: Modifying inline SVG (problem in IE)
Please disregard my previous post. (or posts, I don't know why it was posted 3 times -- I posted it using Yahoo's web form). I found the problem which was related to how I got the svgDocument in IE which doesn't invoke the onload event of the inline SVG. For IE, I now do: svgDocument = document.getElementById(SVG).getSVGDocument(); where SVG is the id of the SVG root element and it works fine. However, I am still having a problem in IE. It is the same problem that someone named Bryan posted to an xml-dev mailing list back in 2002. Bryan wrote: * From: bryan [EMAIL PROTECTED] * Date: Tue, 29 Oct 2002 17:31:31 +0100 I was just wondering if any one could tell me why, when using Internet Explorer behaviors to place an svg document inline within an dynamically generated html document, and then attempting to reference a linearGradient with an id firegrad1 for a fill the element being filled by said gradient disappears whereas when I present the same svg as a self-contained svg document the element being filled by the gradient is present. I'm supposing that what happens when I write Fill=url(#firegrad1) is that the adobe plugin must be having a problem finding firegrad1 when inline, the question being if I can do something else to let it know it's being used inline? Bryan received one response which didn't provide a clear solution, the response was: I am by no means well acquainted with IE binary behaviours, but it's not the first time I hear of that kind of problem. I think that what it boils down ot is the fact that IE is not an XML app by any measure, so that when the Adobe plugin tries to find firegrad1 using an XML DOM it somehow fails. There are probably workarounds for this problem on Adobe's side (though they may be clunky), I'm not sure if there are any pleaseant ones on your side. You may consider using entities, or some Javascript to inline the gradient. -- Robin Berjon [EMAIL PROTECTED] Can anyone on this list tell me how to do inline gradients or use entities to perform the same function? Thanks in advance! Steven Pothoven http://blog.pothoven.net - To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click edit my membership Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[svg-developers] Re: HTML-SVG in Firefox
--- In svg-developers@yahoogroups.com, Olaf Schnabel [EMAIL PROTECTED] wrote: I have a problem with the HTML-to-SVG communication in Firefox. I made a simple example: function init() { var svgdoc = document.getElementById(mySVG).getSVGDocument(); With Firefox and an object element you can access respectively need to access the contentDocument property e.g. var object = document.getElementById(mySVG); var svgDoc = null; if (object != null) { if (object.contentDocument != null) { svgDoc = object.contentDocument; } else if (typeof object.getSVGDocument != 'undefined') { svgDoc = object.getSVGDocument(); } } if (svgDoc != null) { svgDoc.getElementById(datetext).firstChild.nodeValue = 30; } contentDocument is defined in the W3C DOM Level 2 HTML module, see http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-38538621 - To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click edit my membership Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[svg-developers] Re: Modifying inline SVG (problem in IE)
Once again, you can disregard the previous message. Somehow just posting a question here seems to solve my problems. The gradient coloring started working in IE shortly after I posted that last message. I didn't really change anything, so I don't know what I did to fix it, but it works. Mouse events are still not being triggered in IE (though they work in Firefox and Opera), so maybe by simply mentioning that here, they'll start working for me. Regards, Steven Pothoven http://blog.pothoven.net - To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click edit my membership Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [svg-developers] HTML-SVG in Firefox
This works for me: function init(evt) { if ( window.svgDocument == null ) svgDocument = evt.target.ownerDocument; var SVGRoot = svgDocument.documentElement; } Stephen On 29 Mar 2007 05:47:17 -0700, Olaf Schnabel [EMAIL PROTECTED] wrote: Hi developers I have a problem with the HTML-to-SVG communication in Firefox. I made a simple example: html_svg.html: !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN html head titleFrom HTML to SVG/title script type=text/javascript!-- function init() { var svgdoc = document.getElementById(mySVG).getSVGDocument(); svgdoc.getElementById(datetext).firstChild.nodeValue = 30; } //--/script /head body onload=init() h1HTML to SVG Test/h1 object type=image/svg+xml data=svg.svg width=200 height=200 id=mySVG embed name=mySVG type=image/svg+xml src=svg.svg / /object pIs this test working?/p /body /html svg.svg: ?xml version=1.0 ? !DOCTYPE svg PUBLIC -//W3C//DTD SVG 1.0//EN http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd; svg width=150px height=100px xmlns=http://www.w3.org/2000/svg; text id=datetext x=10 y=50 /text /svg Firefox 2.0.0.3 (WinXP SP2) says, that getSVGDocument is not a function. In other browsers like Opera 9.10 and IE 7 the example works. Can someone of you give me a hint, why the error in Firefox occurs? Thanks Olaf -- Dr. Olaf Schnabel ETH Zurich Institute of Cartography CH-8093 Zurich Switzerland tel: ++41 44 633 3031 fax: ++41 44 633 1153 e-mail: [EMAIL PROTECTED] schnabel%40karto.baug.ethz.ch www1: http://www.ika.ethz.ch/schnabel www2: http://www.e-cartouche.ch [Non-text portions of this message have been removed] - To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click edit my membership Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[svg-developers] Re: Deployment Problem On WebServer
Hello All, I have finally solved the problem . It is actually with the hosting company that is providing web hosting services for my webpages .Our Majority of clients are adopting svg based websites/Contents and they are facing problem as webpages are throwing no error and at the same time No Content is displayed on the pages . So to solve this take care whenever you are hosting a site including SVG contents on a webserver, do check that image/svg+xml MIME type is registered on your web server. You can findout more details from the following pages --- To check What MIME types your webserver support, http://web-sniffer.net/ --- To check MIME type for SVG http://wiki.svg.org/MIME_Type - To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click edit my membership Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[svg-developers] [ANN] Batik 1.7beta1 released
The Apache Batik team is proud to announce the long-awaited release of Apache Batik version 1.7beta1, a Java-based toolkit for processing SVG. This is the first release of Batik in approximately two years, and brings many new features and improvements over version 1.6. Notable new features include: * DOM Level 3 Core/Events/XPath support * Improved WMF transcoder support * Near complete SMIL Animation support * A few SVG 1.2 features, such as: * resource documents * shapechange and RenderedBBoxChange events * SVGGlobal startMouseCapture/stopMouseCapture methods * handler elements Batik can be downloaded from here: http://xmlgraphics.apache.org/batik/download.cgi For the full list of improvements and bug fixes over version 1.6, click on the “release change log” link from that page. The reasoning behind having a beta release rather than a full release is that there has been a great deal of changes since version 1.6, and while we believe the code to be reasonably stable, it would be beneficial to get feedback from users on any bugs that may have been missed. We plan to have a full 1.7 release in a month or two. If you find any problems, please file bug reports: http://issues.apache.org/bugzilla/ And for more information, see the Batik project website: http://xmlgraphics.apache.org/batik/ Thanks, Cameron —for the Apache Batik team -- Cameron McCormack, http://mcc.id.au/ xmpp:[EMAIL PROTECTED] ▪ ICQ 26955922 ▪ MSN [EMAIL PROTECTED] [Non-text portions of this message have been removed] - To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click edit my membership Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/