In a RefEntry, the first refsect2 shows up as .Sh "" in the troff.
In the second refsect2, the second word is not written to the troff file.
I'm using xmlto version 0.0.5-3.
Created attachment 43035 [details]
sample file with refsect2 entries
Should be fixed in xmlto-0.0.7-1.
Great. I just tried it and it works now. Thanks!