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] | [Elist Home]


Subject: Re: DOCBOOK: Re: DOCBOOK-APPS: Help - Reseting the chapter numbering


/ Bob Stayton <bobs@sco.COM> was heard to say:
| In the stylesheet directory, the file common/common.xsl
| has this template that assembles the numbers for chapters:

Oops. Thanks, Bob!

| You might also suggest to Norm that this is an item
| that could be parameterized so you don't have to
| rewrite the template.

I'm torn about how to approach customization of the XSL stylesheets.
My current intuition is that I should probably expand on the template
approach so that there's a simple XML file that you write to indicate
what you'd like the stylesheet to do, then an XSL stylesheet chews on
that and spits out the customization layer that will do the right
thing.

Off the top of my head, I don't even remember if the from attribute
on xsl:number is an attribute-value-template.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com>      | A man is not necessarily
http://www.oasis-open.org/docbook/ | intelligent because he has plenty
Chair, DocBook Technical Committee | of ideas, any more than he is a
                                   | good general because he has plenty
                                   | of soldiers.--Chamfort


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


Powered by eList eXpress LLC