More robust extraction of datasets.

Makes JATS kitchen sink file render.