Closed JSBLGPN closed 6 years ago
xquery version "3.1";
declare namespace tei="http://www.tei-c.org/ns/1.0";
let $pleiades:=
<location xmlns="http://www.tei-c.org/ns/1.0" type="pleiades">
<label/>
</location>
for $i in collection("/db/apps/lgpn-data/data")//tei:place[not(tei:location[@type='pleiades'])]
return
update insert $pleiades into $i
Fixed with the conversion above, along with a number of similar cases
For this place name , there is no box for pleiades number... thanks