[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: DOCBOOK: XML / SGML dtd compatible?
Hi, I am trying to process the same document with the docbook XML dtd and the SGML dtd. For XML i use version 4.12 and for SGML 4.1 The problem is with the IMAGEOBJECT tag, that is required for SGML but XML complains if it is there. Am i right that this is not compatible? If not where is my mistake? If this is again a problem of tools, i am sorry, Klaas Holwerda <figure id="vdraw"><title>wxCanvas Demo program Vdraw</title> <screenshot> <screeninfo>vdraw shot</screeninfo> <mediaobject> <imageobject> <imagedata fileref = "figures/vdraw.gif" format="gif"> </mediaobject> </screenshot> </figure> [SGML] C:\libraries\wx2b3\contrib\include\wx\canvas\docbook\htmldocbook>c:\tools\docbook\jade\jade -t sgml -ihtml -d c:/tools/docboo k-dsssl-1.70/html/docbook.dsl ../canvasbt.sgm c:\tools\docbook\jade\jade:../chap_wxcanvas.sgm:45:13:E: end tag for "IMAGEOBJECT" omitted, but its declaration does not perm it this c:\tools\docbook\jade\jade:../chap_wxcanvas.sgm:42:0: start tag was here [XML] Oke! <figure id="vdraw"><title>wxCanvas Demo program Vdraw</title> <screenshot> <screeninfo>vdraw shot</screeninfo> <mediaobject> <imageobject> <imagedata fileref = "figures/vdraw.gif" format="gif"> </imageobject> </mediaobject> </screenshot> </figure> [SGML] oke! [XML] C:\libraries\wx2b3\contrib\include\wx\canvas\docbook>xt canvasbt.xml c:/tools/docbook-xsl-1.39/html/xtchunk.xsl file:/C:/libraries/wx2b3/contrib/include/wx/canvas/docbook/chap_wxcanvas.sgm:45: mismatched end tag: expected "imagedata" but got "mediaobject" Unclassified
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC