}
// Second try as an image with embedded document metadata:
if (xmlDoc == null) {
try {
if (type instanceof LZNDocumentProvider) {
final LZNDocumentProvider p = (LZNDocumentProvider)type;
Document lznDoc = p.getLZNDocument(info);
if (lznDoc != null) {
xmlDoc = new XmlDocument(lznDoc.getDocumentElement());
if (xmlDoc != null) {
// The original image may be in the same file,
// or referenced through a path pointer: