I'm trying to write an extension to DocBook that adds several attributes to programlisting and extends its content model slightly. So far, I have been unable to generate a DTD that parses correctly; what follows is my current attempt:
- <!--
- DBLP.DTD; a literate programming DTD based on DocBook
- PUBLIC "-//Mark Wroth//DTD DocBook V4.1 Literate Programming Extension 1.0//EN"
- -->
- <!ENTITY % programlisting.element "IGNORE">
- <!ENTITY % local.programlisting.attrib "
- file CDATA #IMPLIED -- file name for output file --
- continuedfrom IDREF #IMPLIED
- continuedin IDREF #IMPLIED ">
- <!ENTITY % docbook PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
- %docbook;
- <!ELEMENT ProgramListing - -
- ((CO | LineAnnotation | XRef | %para.char.mix; )+) >
- DBLP.DTD; a literate programming DTD based on DocBook
What am I doing wrong?
<[EMAIL PROTECTED]>
