Fix for empty figcaptions that works properly in both saxon and xsltproc.