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

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

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


Subject: Re: DOCBOOK: XML / SGML dtd compatible?




Stefan Seefeld wrote:

> "k. holwerda" wrote:
> 
> > <imagedata fileref = "figures/vdraw.gif" format="gif">
>
> that's not valid XML. YOu have to write
>
> <imagedata fileref="figures/vdraw.gif" format="GIF"/>

Like this right?

<mediaobject>
<imageobject>
<imagedata fileref = "figures/vdraw.gif" format="GIF"/>
</imageobject>
</mediaobject>

[XML dtd] all fine

[SGML dtd ] different error

C:\wxwin\wx26bc\contrib\include\wx\canvas\docbook\htmldocbook>c:\tools\docbook\jade\jade
-t sgml -ihtml -d c:/tools/docbook-d
sssl-1.70/html/klaas2.dsl ../canvasbt.sgm
c:\tools\docbook\jade\jade:../chap_wxcanvas.sgm:43:54:E: character data
is not allowed here


Which is exactly at the end of the line where i added the slash />

Any idea ?

Thanks sofar,

Klaas


>
> Since 'imagedata' is selfcontained, you have to use the trailing '/'.
>
> (note also that it appears the xsl stylesheets require the format
> string to be all uppercase to be recognized as a valid format)
>
> Regards,
>                 Stefan



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


Powered by eList eXpress LLC