OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Re: [docbook] Adding a new element to docbook

Got it. Thanks!

             Bob Stayton                                                   
             08/22/2003 03:00          JABakken@dstsystems.com             
             PM                                                         cc 
                                       Jeff Beal <jeff.beal@ansys.com>,    
                                       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
> 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

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]