Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
42 lines (39 sloc) 1.02 KB
This query adds the Berean interlinear glosses into the Nestle 1904 syntax
trees. Don't try to use this with other GNTs, it is entirely dependent on
word order.
let $berean := doc("/Users/jonathan/git/Nestle1904/glosses/berean-interlinear-glosses.xml")
for $file in (
let $tree := doc($file)
for $w in $tree//w
let $gloss := attribute gloss { $berean//w[@osisId = $w/@osisId]/gloss }
return insert node $gloss into $w