Commit 5bc07442 authored by Magdalena Turska's avatar Magdalena Turska

add prefix-based alignment

parent 526dc63d
......@@ -57,3 +57,15 @@ return
(:~ mapping by translating id prefix ~:)
declare function mapping:prefix-translation($root as element()) {
let $sourcePrefix := 's'
let $translationPrefix := 't1'
let $id := $root/@xml:id
let $node := root($root)/id(translate($id, $sourcePrefix, $targetPrefix))
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