Hello,

When there is a @node associated with every sectionning @-command, the
output of --xml is every section is simply nested in the corresponding <node>. 
However, when there are no @node, the nesting of elements follows the 
sectionning, like 

<chapter>
  ....
 <section>
  ...
 </section>
</chapter>

When there is a mix, typically with more sectionning @-commands than @node
and even more if the @node structure doesn't follow the sectionning 
@-command structure, the nesting may not be easy to sort out. I attach an
example of such a case, on which C makeinfo fails with --xml. This is of 
course a test case and not a real life manual, but I think that it 
demonstrates issues than may arise in real life manuals.

Currently the texi2html design is to completly ignore the tree structure 
of sectionning @-commands, and have no nesting of the corresponding
xml, even if there are no nodes.

What is your opinion on the desirable output with --xml?

--
Pat

Attachment: more_sections_than_nodes.texi
Description: TeXInfo document

Reply via email to