view doc/wiki2docbook/headingsNormalizer.about.txt @ 1753:c4d37e0fc841 default tip

installation fix
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Fri, 29 Jan 2010 19:22:50 +0900
parents b92fc3c922ac
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).