--- In [email protected], Helder Magalhães <helder.magalh...@...> wrote: > > > Is it possible with SVG to define "variables" which can then be > referred to > > in multiple places in the XML? For example, I'd like to see > something like: > > As far as I know, XML provides such mechanism. You may be seeking for > internal entities [1] (sample usage available [2]). > > Adobe Illustrator seems to make extensive use of these for a similar > usage. I'm not sure about the interoperability status of this feature > (within existent SVG implementations), though...
I've recently experimented with using entity definitions to reuse path data multiple times in an SVG font, so I can tell that it works in ASV 3, Opera 9.6, and Batik 1.7 . Firefox 3.0.5 doesn't support SVG fonts anyway, but it also fails to parse the document, complaining about an undefined entity. The file can be found at <http://frankbruder.fr.ohost.de/fonts/spaceagedigital.svg> A rendered sample image of what the font is supposed to look like is shown at <http://frankbruder.fr.ohost.de/fonts_en.html#spaceagedigital>, but apart from shortcomings in SVG Fonts support it can be assumed that a user agent supports entity definitions in an internal subset DTD if and only if it doesn't report an error and displays at least the dark background rectangle. > > Hope this helps, > Helder Magalhães > > [1] http://www.xml.com/pub/a/98/08/xmlqna1.html#INTENT > [2] http://www.xml.com/pub/a/98/08/xmlqna0.html?page=2 > ------------------------------------ ----- 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/

