On Sat, 19 Feb 2011 11:51:42 -0800 "Bob Stayton" <[email protected]> wrote:
> Hi, > I'm not sure how useful this exercise is. I will put forth the > proposition that all DocBook elements except some metadata elements > in info are already styled by DocBook XSL. Metadata elements are not > automatically styled because metadata is used for different purposes > by different people. Any elements outside of info that are not > styled should be in the list of bug reports on the DocBook > SourceForge site. At the moment, I don't think there are any reports > of that nature. > > Also, the DocBook XSL stylesheets already have a template that flags > any elements that it encounters for which it otherwise has no > template. See the template in fo/docbook.xsl starting with: > > <xsl:template match="*"> > ... > > That template will be applied by the XSLT processor when no other > template matches an element in the document. It issues an error > message and inserts a copy of the element tags in red in the output. > > Have you seen any DocBook elements that are not styled? > > Bob Stayton > Sagehill Enterprises > [email protected] Yes... but only when that template has warned me about them! Usually when I change the schema/stylesheets, that warning is sufficient to let me know I need to do something. It's a godsend. regards -- regards -- Dave Pawson XSLT XSL-FO FAQ. http://www.dpawson.co.uk --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
