Your sample result.xml file does not have a single root element; the
<fo:block> is not actually inside the <fo:table>, and there are other
top-level elements following it. This is _not_ a well-formed XML (or HTML)
document, and may not be represented in the DOM. If you want to output to a
DOM, you must fix your stylesheet to generate a well-formed document.
Indented version of the beginning of that file, to make this visible:
<?xml version="1.0" encoding="UTF-8"?>
<fo:table xmlns:fox="http://xml.apache.org/fop/extensions" xmlns:fo
="http://www.w3.org/1999/XSL/Format" font-weight="normal" font-size="10pt"
font-family="serif" line-height="14pt" space-after.optimum=".25in">
<fo:table-column column-width="7.5in"/>
<fo:table-body>
<fo:table-row>
<fo:table-cell>
<fo:block text-align="center">FRANKLIN</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row>
<fo:table-cell>
<fo:block text-align="center">ATTENDANCE DETAIL REPORT</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row>
<fo:table-cell>
<fo:block text-align="center">OFFICIAL NOTICE</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
<fo:block xmlns:fox="http://xml.apache.org/fop/extensions" xmlns:fo
="http://www.w3.org/1999/XSL/Format" font-weight="bold" font-size="10pt"
font-family="serif" line-height="14pt" space-after.optimum=".125in">ARCHER,
JACQUESE L</fo:block>
.... and so on.
Simplest fix would be to change your stylesheet to generate an element
which is wrapped around all the content you've shown us, giving you a
single root element. I don't know enough about FO's to tell you which that
ought to be.