How do you read a SVG JavaScript variable value from Java?
The Java app runs a JFrame using Batik.
I have svgCanvas object visible in my Java app and I can get the
root element using this code:
Java code snippet---
//get the svg root element
org.w3c.dom.Element svgRoot=this.s
revelonshift wrote:
> OK, thx, you're right. But since getting matrix is done only once at
> the initiation phase and during gameplay is only updated, I will
> probably stay at my previous solution...
> Anyway .. thx for your point... but, during game I'm often affecting
> fill attribute and someti
Hi there,
I cut and pasted your code and it worked for me in FF1.5 and O9.02...
http://www.hackmare.com/2006/09/22/01.html
Is your php generating some headers in the dynamic svg? maybe take a look at
what is really going on in your php...
ps my apache configuration is out of the box.
Ronan
O
I have a document which embeds an SVG file that displays fine in
Mozilla or IE when dragged into a browser but displays the following
message in Mozilla through my apache server (IE is OK)
XML Parsing Error: prefix not bound to a namespace
A quick bit of background. The aim is to create SVG symbo
Hi,
Really nice. Just a note, when using Opera 9.0.2 on Mac OS X, I can
indeed view http://www.statistics.gov.uk/populationestimates/
svg_pyramid/uk/pyramid4_3.svg, but not the HTML file containing it.
Maybe you should use instead of , or better yet, not
use HTML at all since it's only use
On Fri, 22 Sep 2006 17:16:37 +0200, krugerboy1971 <[EMAIL PROTECTED]>
wrote:
> Hi list
>
> For those who might be interested, our population pyramid template is
> now ASV, Firefox1.5 and (I think - grateful if someone could confirm)
> Opera-compliant and can be seen here:
>
> http://www.statisti
Hi list
For those who might be interested, our population pyramid template is
now ASV, Firefox1.5 and (I think - grateful if someone could confirm)
Opera-compliant and can be seen here:
http://www.statistics.gov.uk/populationestimates/svg_pyramid/default.ht
m
Currently includes over 100 year t
On Fri, 22 Sep 2006 12:06:20 +0200, revelonshift
<[EMAIL PROTECTED]> wrote:
> OK, thx, you're right. But since getting matrix is done only once at
> the initiation phase and during gameplay is only updated, I will
> probably stay at my previous solution...
> Anyway .. thx for your point... but,
Joe
Here is the code I use:
function serializeNode (node) {
if (typeof XMLSerializer != 'undefined') {
var nodeString = new XMLSerializer().serializeToString(node)
return nodeString;
}
else if (typeof node.xml != 'undefined') {
return node.xml;
}
else if (typeof printNode !=
OK, thx, you're right. But since getting matrix is done only once at
the initiation phase and during gameplay is only updated, I will
probably stay at my previous solution...
Anyway .. thx for your point... but, during game I'm often affecting
fill attribute and sometimes using rgb color schema. Is
Den 2006-09-22 11:24:53 skrev revelonshift <[EMAIL PROTECTED]>:
> I tried the same yesterday without success but
> just today realize to get initial transform object I have to specifify
> initialization in SVG like this transform="matrix(1 0 0 1 0 0)" (for
> the fist time).
You could use the DOM
Thank you. It works,. I tried the same yesterday without success but
just today realize to get initial transform object I have to specifify
initialization in SVG like this transform="matrix(1 0 0 1 0 0)" (for
the fist time). Then it works. Now I replaced the most often
setAttribute() calls and see
On Thu, 21 Sep 2006 19:28:16 +0200, revelonshift <[EMAIL PROTECTED]>
wrote:
> I also think that getting infoamtion from DOM on the fly is
> slowing-down operations, so I've already cached all nodes in variables
> and using only write - setAttributeNS method.
> But maybe using directly SVG DOM co
13 matches
Mail list logo