Hi,

you use getURL to load either a static file or call a server side
script (PHP,ASP,JSP,...) that generates/returns text.

Using ASV or Batik getURL also works locally (no server needed), using
MozillaSVG or FireFoxSVG you have to add the getURL method via the
XMLHttpRequest Object, thus it will just work on a server.

sample at:
http://www.zuccaralloo.de/devgroup/samples/textFromFile.svg

download at:
http://www.zuccaralloo.de/devgroup/?m=messages

Batik: add type="text/ecmascript" to the script element

Regards-
-Heiko



--- In svg-developers@yahoogroups.com, "solomoonor" <[EMAIL PROTECTED]>
wrote:
> 
> Hi, anyone got idea how to read a text value from a file and draw it
> on the svg? I just know how to change the attributes but don't know
> how to get the text from the file. I've read the document and try to
> find out how to do it, but just don't understand -_-||





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