Hi,

You require server-side programming to access a database. Your clientside 
(SVG/ecmascript) code is unable to access a database. Take any example of 
Perl with  the DBI and SVG modules and your solution will be similar.

Take a look at:

http://www.roasp.com/ for some examples of using mysql and perl to dynamically 
generate svg. I think you will find it in http://www.roasp.com/tutorials/ , 
but I am not 100% sure where to look and I am on a train as I write this.

Also, try typing "Perl DBI SVG" in google. You might get lucky there.

Of course, what you do with Perl, you can do with any other *serverside* 
language.

When SVG1.2 comes along, it *may* be possible to directly access a database. 
For now, though, you have to access the database through a webservice or a 
program or script on a webserver. 

Ronan

On Tuesday 05 April 2005 00:43, pesdeep wrote:
> hi
> i am using mysql as a database. in the table x-coordinates and y-
> coordinates are stored. this coordinates are  keep on changing. and i
> want to display that coordinates in svg as a dot(circle).
> In the database there are so many x-coordinates and y-coordinates.
> for each x-y coordinates i want to create an dot(circle)and display
> in
> the svg.
>
>
> suppose x=360 and y=270
> then one circle (suppose r=5, cx=360, cy=270) is created and placed
> in
> the area x=360 and y=270. In the database the x and y coordinates are
> keep on changing therefore in svg also circle is moving according to
> their coordinates.
>
> i am facing the problem how to get dynamically database values into
> svg.
> i am used javascript and svg.
> i got information that  from XMLHttp and getUrl() it is possible.
> so plz any one can help me how to use these two technologies to
> obtain
> dynamic svg because iam new to these technology.
>
> thanks in advance.
> deepak
>
>
>
>
>
>
> -----
> 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
>
>
>

-- 
When I was younger, I could remember anything, whether it had happened
or not; but my faculties are decaying now and soon I shall be so I
cannot remember any but the things that never happened.  It is sad to
go to pieces like this but we all have to do it.
                -- Mark Twain

 --> contact me: ronan at roasp dot com


-----
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/

<*> 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/
 



Reply via email to