labels = node.getLabels();
}
if (node == null || (labels != null && labels.length < 1)) {
DocumentBuilder builder = publication.getDocumentBuilder();
String url = builder.buildCanonicalUrl(publication, area, documentid, language);
Document doc;
try {
doc = builder.buildDocument(publication, url);
} catch (DocumentBuildException e) {
throw new BuildException(e);