Commit 4ddbb813 authored by Mickaël Desfrênes's avatar Mickaël Desfrênes
Browse files

fixes #94 fix document title, use metadatas.

parent bc80141d
Loading
Loading
Loading
Loading
+1 −3
Changes for rxq/ead/document_title.xq: 1 added line, 3 removed lines.
Original line number Diff line number Diff line
xquery version "3.0";

declare variable $documentPath external;

let $title := doc($documentPath)/*:ead/*:archdesc/*:did/*:unittitle//text()
let $title := doc($documentPath)/*:ead/*:eadheader/*:filedesc/*:titlestmt
return <span><title>{$title}</title></span>
 No newline at end of file