XMLにすると<section>は入れ子になります。
(op)hdknr@debuniid:~/.virtualenvs/op/src/djopenid/experiment$ more section.rst
.. sectnum:: ================ Section Title 1 ================ ---------------- Section Title 2 ---------------- Section Title 3 ================ Section Title 4 ---------------- Section Title 5 ```````````````` Section Title 6 '''''''''''''''' Section Title 7 ................ Section Title 8 ~~~~~~~~~~~~~~~~ Section Title 9 **************** Section Title 10 ++++++++++++++++ Section Title 11 ^^^^^^^^^^^^^^^^
$ rst2html section.rst > section.html
$ more section.rst
.. sectnum:: ================ Section Title 1 ================ ---------------- Section Title 2 ---------------- Section Title 3 ================ Section Title 4 ---------------- ```````````````` Section Title 5 ```````````````` Section Title 5 ```````````````` '''''''''''''''' Section Title 6 '''''''''''''''' Section Title 6 '''''''''''''''' ................ Section Title 7 ................ Section Title 7 ................ ~~~~~~~~~~~~~~~~ Section Title 8 ~~~~~~~~~~~~~~~~ Section Title 8 ~~~~~~~~~~~~~~~~ Section Title 9 **************** **************** Section Title 9 **************** Section Title 10 ++++++++++++++++ ++++++++++++++++ Section Title 10 ++++++++++++++++ Section Title 11 ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ Section Title 11 ^^^^^^^^^^^^^^^^ Section Title 12 ================
$ rst2html section.rst > section.html
$ rst2xml –indents section.rst > section.xml
広告