solomoonor 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 -_-||
We can't help you much because your request is too imprecise. What kind of text? XML or pure text? One-liner to put into a text element or 100KB to displayed paged? Were is the text? On the user computer or on a server? In the first case, not much hope, as scripts and plugins are not allowed to read local files, for obvious security reasons. The only way is to upload a file to a server, going to the second case. In the second case, it depends if you want/has a static SVG standalone or within a static HTML (I suppose then you can only do a getURL), a static SVG within a dynamically generated HTML page (you can pass parameters on the URL calling the SVG) or a dynamically generated SVG (you can put the text directly in place). And generated how? CGI, PHP, ASP, JSP, etc. Give more details, the answers will be more precise. -- Philippe Lhoste -- (near) Paris -- France -- http://Phi.Lho.free.fr -- For servers mangling my From and Reply-To fields, -- please send private answers to PhiLho(a)GMX.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/ <*> 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/

