now include xpath in index
This commit is contained in:
parent
d0da75869e
commit
043b9e0a87
1 changed files with 2 additions and 2 deletions
|
@ -18,7 +18,7 @@ as map(xs:string, map(xs:string, map(xs:string, item()*)))* {
|
|||
for $w in $ment/tei:w/text()
|
||||
return map{$w : map{$id :
|
||||
map {'gloss': local:get-gloss($ment),
|
||||
'node': db:node-id($ment) }
|
||||
'node': path($ment) }
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@ -98,7 +98,7 @@ return
|
|||
{
|
||||
for $ref in $words($w)($e)
|
||||
return
|
||||
<ref node-id="{$ref('node')}">
|
||||
<ref path="{$ref('node')}">
|
||||
{
|
||||
for $g in $ref('gloss')
|
||||
return
|
||||
|
|
Loading…
Add table
Reference in a new issue