view doc/wiki2docbook/headingsNormalizer.about.txt @ 1773:2ae81598b254

scripts for converting wiki documentation to docbook
author nadvornik
date Sun, 22 Nov 2009 09:12:22 +0000
parents
children
line wrap: on
line source

Credits: Filipe Correia

This stylesheet can be applied to xhtml documents. It ensures one one
h1 element exists per document. If the input document has only one h1 
element it just copies all nodes to the output, otherwise it adds a 
new top level (h1) heading and depromotes every existing heading to a
lower level (ie, h1s turn into h2s, h2s turn into h3s, etc).