[mod] symbol opts
This commit is contained in:
parent
b102be8db6
commit
c4d2770bae
3 changed files with 24 additions and 8 deletions
10
test/ast.xq
Normal file
10
test/ast.xq
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
import module namespace syms="lsp/symbols" at "../webapp/lsp/ast/ast.xqm";
|
||||
|
||||
declare $file:="C:\Users\mrwhe\git\quodatum\basex-lsp\test\sample.docs\pdfbox.xqm";
|
||||
|
||||
declare variable $A:=doc("C:\Users\mrwhe\git\quodatum\basex-lsp\test\sample.docs\parse-pdfbox.xml");
|
||||
$A update{
|
||||
for $e in .//element()
|
||||
let $len:=string-length($e)
|
||||
return insert node attribute len { $len } into $e
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue