This is the mail archive of the docbook@lists.oasis-open.org mailing list for the DocBook project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: 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


------------------------------------------------------------------
To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: docbook-request@lists.oasis-open.org


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]