OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: Re: DOCBOOK-APPS: Help with SVG in Docbook


/ Bill Lawrence <bill.lawrence@ansys.com> was heard to say:
| SVG graphics are apparently not treated as other graphics, such as .eps or
| .gif, and therefore can't be referenced through a fileref or entityref in a
| graphic tag.  So, how does one reference an SVG graphic in a Docbook
| document?

I guess the content model of <imageobject> should be extended to
something like:

  <!ELEMENT imageobject (objectinfo?, (imagedata|svg:svg))>

Alas, this isn't possible in XML because the folks who made the SVG
DTD didn't use the parameter-entity hack to allow the namespace prefix
to be assigned and SVG has element names that conflict with DocBook.
Sigh.

Nevertheless, here's how it might be done, if you did some hacking to
the SVG DTD :-)

dbsvg.dtd

svg-20001102-nshack.dtd



                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com>      | Anything more than the truth would
http://www.oasis-open.org/docbook/ | be too much.--Robert Frost
Chair, DocBook Technical Committee |


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC