This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Re: [docbook] Adding a new element to docbook
On Fri, Aug 22, 2003 at 12:56:19PM -0500, JABakken@dstsystems.com wrote:
>
>
>
>
> Thank you both very much for your replies. I usually have problems when I
> try to use a public identifier (I get a "Connection refused" error
> message), so I switched to using a system identifier. Is that okay if I do
> that?
>
> Here is now what mydocbk.dtd now looks like:
>
> <!ENTITY % local.tech.char.class "|footer">
> <!ENTITY % local.divcomponent.mix "|footer">
> <!ENTITY % DocBookDTD SYSTEM "file:///C:/DocBook/DTD/docbookx.dtd">
>
> %DocBookDTD;
>
> <!ELEMENT footer (%para.char.mix;|%para.mix;)*>
>
>
> Something is still amiss, though, because my output appears as follows:
>
> This is only a sample.
>
>
> <footer>This is the footer</footer>
>
> My hunch is that it has to do with line 2 in my dtd. I wasn't quite sure
> where I was supposed to put that line, so I just guessed.
No, you need to customize the stylesheets
which currently don't recognize the footer element.
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
The SCO Group fax: (831) 429-1887
email: bobs@sco.com
---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-help@lists.oasis-open.org