On Mon, 18 Feb 2008 10:38:13 +0100, ~:'' ありがとうございました。 <[EMAIL PROTECTED]> wrote:
> external <use> > > Erik, > > amazing, what a pity that we're waiting on Safari and Mozilla. > (filed parity Opera comments) > > perhaps you already read Dan Brickley's article: > http://danbri.org/words/2007/09/14/199 Thanks, no I had not seen that before. > The mozilla bug has a rather wider gamut, > Allow <svg:use> to reference elements in other documents > https://bugzilla.mozilla.org/show_bug.cgi?id=269482 > > is support for this imminent? > > for instance I saved your example locally and edited the star link to: > http://files.myopera.com/MacDev_ed/sarpsborg2007/star2.svg#root which > works fine, but > http://files.myopera.com/MacDev_ed/sarpsborg2007/star2.svg#star does not > :-( > is the syntax correct? Yes, the syntax is correct. Note that if you reference an <svg> or <symbol> element it has special behaviour though[1]. The thing is that if you use the path then you'll have to be sure that the coordinate system is compatible, otherwise your path may fall outside the canvas. Also, since the path didn't have any fill specified and the background is black you wouldn't see anything. I got something on screen by doing this: <use xlink:href="star2.svg#star" fill="green" y="-200" width="400" height="400"/> If you want a whole document included I would suggest using the <image> or <animation> element instead of <use>. Cheers /Erik [1] http://www.w3.org/TR/SVG11/struct.html#UseElement -- Erik Dahlstrom, Core Technology Developer, Opera Software Co-Chair, W3C SVG Working Group Personal blog: http://my.opera.com/macdev_ed ----- 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/

