Skip to content
Go to file
Cannot retrieve contributors at this time
41 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
You can’t perform that action at this time.