Commit dc3625cb authored by Wolfgang Test's avatar Wolfgang Test

Small fix to 44300a02 so it also works on eXist 5.x.x

parent 44300a02
......@@ -72,7 +72,7 @@ declare function docx:copy-media($rels as element(), $unzipped as xs:string, $me
let $relPath := replace($target, "^(.*?)/[^/]+$", "$1")
let $imgName := replace($target, "^.*?([^/]+)$", "$1")
return
$docx:copy($unzipped || "/word/" || $relPath, $imgName, $mediaPath)[2]
$docx:copy($unzipped || "/word/" || $relPath, $mediaPath, $imgName)[2]
else
()
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment