Common defs for multiple images

"honyk" <[email protected]>
Newsgroups gmane.text.xml.svg.devel
Message-ID <[email protected]>
Dear All,

I have several images with common css styles, markers and symbols. To avoid
manual editing all these files on any future change I'd rather make a link
to this stuff.

My attempt using xi:include (from XML world) seems to be not supported by
common tools (browsers, rasterizers).

<svg xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink" width="100" height="100"
viewBox="0 0 100 100" version="1.1">
  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="defs.xml"/>
  <path d="M0 50h100" class="dashed"/>
</svg>

I could resolve these includes using the xmllint tool first, but I'd like to
avoid this extra step (and to keep two versions of each file).

Are there any more convenient alternatives?

Thanks, Jan



------------------------------------

-----
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:
    [email protected] 
    [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/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.