pkrishnaswami wrote:
As long as the tag LogMessage exists in the XML data file, everything works
as designed but if the LogMessage tag does not exist because there are no
log messages, I get the above exception. Is there a way, to just publish an
empty report with just the Column headers if there is no LogMessage tag in
the XML data file . How would I modify the above snippet? I appreciate any
help on this issue.
Another possibility is to add an mpty block at the end:
<fo:flow flow-name="xsl-region-body">
<xsl:apply-templates select="LogMessage" />
<fo:block/>
</fo:flow>
J.Pietschmann