annotate doc/wiki2docbook/headingsNormalizer.about.txt @ 1811:f405ec9b696b default tip

Some small logic mistakes Use boolean operators for booleans and bitwise otherwise only.
author mow
date Mon, 10 May 2010 11:33:13 +0000
parents 2ae81598b254
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1773
2ae81598b254 scripts for converting wiki documentation to docbook
nadvornik
parents:
diff changeset
1 Credits: Filipe Correia
2ae81598b254 scripts for converting wiki documentation to docbook
nadvornik
parents:
diff changeset
2
2ae81598b254 scripts for converting wiki documentation to docbook
nadvornik
parents:
diff changeset
3 This stylesheet can be applied to xhtml documents. It ensures one one
2ae81598b254 scripts for converting wiki documentation to docbook
nadvornik
parents:
diff changeset
4 h1 element exists per document. If the input document has only one h1
2ae81598b254 scripts for converting wiki documentation to docbook
nadvornik
parents:
diff changeset
5 element it just copies all nodes to the output, otherwise it adds a
2ae81598b254 scripts for converting wiki documentation to docbook
nadvornik
parents:
diff changeset
6 new top level (h1) heading and depromotes every existing heading to a
2ae81598b254 scripts for converting wiki documentation to docbook
nadvornik
parents:
diff changeset
7 lower level (ie, h1s turn into h2s, h2s turn into h3s, etc).
2ae81598b254 scripts for converting wiki documentation to docbook
nadvornik
parents:
diff changeset
8