* adrianbjones wrote:
>Otherwise, is there a way to prevent linear gradients from being
>defined at all. In other words, is it possible to have the gradient
>instructions as part of each path fill. I realize this may result in a
>larger file, but would avoid the problems I have described.

IDs have to uniquely identify one element in a document, you either
have to actually use unique ones, or you have to put them in separate
documents. What you suggest above is possible though not easy to
author and presumably not well-supported using the 'data' URL scheme:

  <svg xmlns='http://www.w3.org/2000/svg' version='1.1'>
    <rect height='100' width='100' fill='url(data:image/svg+xml;base64,
      PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZlcnNpb249J
      zEuMSc+CiAgPGxpbmVhckdyYWRpZW50IGlkPSdleGFtcGxlJz4KICAgIDxzdG9wIG
      9mZnNldD0iMCUiIHN0b3AtY29sb3I9IiNGNjAiIC8+CiAgICA8c3RvcCBvZmZzZXQ
      9IjEwMCUiIHN0b3AtY29sb3I9IiNGRjYiIC8+CiAgPC9saW5lYXJHcmFkaWVudD4K
      PC9zdmc+#example)' />
  </svg>

This should render as a rect with a orange to yellow gradient. However,
I am not aware of a single SVG implementation capable of rendering this
as required by the SVG 1.1 specification. So you will have to find some
way to make your IDs unique.
-- 
Björn Höhrmann · mailto:[EMAIL PROTECTED] · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 


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

Reply via email to