The solution to this problem is to move the xml:id attributes from the
para elements up to their respective listitem elements. You want the
xref to generate the listitem number.
The xref element uses its target element to generate the link text, but
a para is not considered appropriate for gen
This is a test docbook file that shows a good ePub output but double (and
weird) endnote issue with pdf output:
http://docbook.org/xml/5.1/rng/docbook.rng";
schematypens="http://relaxng.org/ns/structure/1.0";?>
http://docbook.org/xml/5.1/sch/docbook.sch";
type="application/xml" schematypens="h