Commit 2f89c6ff authored by Jerome Chauveau's avatar Jerome Chauveau
Browse files

Merge branch 'md/move-ead-files' into 'jc/todo-v1'

fixes #98 move ead files to ead dir (doh)

See merge request pdn-certic/MaX!44
parents 413ecf38 c3cfeabf
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@ declare function max.plugin.ead_basket:basketItemsForPDF($projectId, $items){
    let $xmlDocName := fn:substring-before($item, "|")
    let $nodeId := fn:substring-after($item, "|")
    let $target := doc(concat($dbPath, '/', $xmlDocName))//*[@xml:id = $nodeId or @*:id = $nodeId][1]
    let $content := xslt:transform($target, max.plugin.ead_basket:getResourceFilePath($projectId, "ui/xsl/item_porte-documents-print.html.xsl"))
    let $content := xslt:transform($target, max.plugin.ead_basket:getResourceFilePath($projectId, "ui/xsl/ead/item_porte-documents-print.html.xsl"))
    return $content
};

@@ -103,7 +103,7 @@ declare function max.plugin.ead_basket:itemPorteDocuments($projectId, $item){
    let $xmlDocName := fn:substring-before($item, "|")
    let $nodeId := fn:substring-after($item, "|")
    let $target := doc(concat($dbPath, '/', $xmlDocName))//*[@xml:id = $nodeId or @id = $nodeId]
    let $xsl := max.plugin.ead_basket:getResourceFilePath($projectId, "ui/xsl/item_porte-documents.xsl")
    let $xsl := max.plugin.ead_basket:getResourceFilePath($projectId, "ui/xsl/ead/item_porte-documents.xsl")
    return xslt:transform($target[1],
            $xsl,
            map {