Re: [docbook] Adding a new element to docbook

From
Bob Stayton <>
Date
2003-08-22T20:38:23+00:00
ID
Thread
Re: [docbook] Adding a new element to docbook
On Fri, Aug 22, 2003 at 12:56:19PM -0500,  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: