[mod] clean up tree walk

This commit is contained in:
Andy Bunce 2025-10-04 16:34:02 +01:00
parent 3465a751bb
commit e38385b593
8 changed files with 66 additions and 89 deletions

View file

@ -1,4 +1,5 @@
import module namespace hnd="lsp/handlers" at "../webapp/lsp/handlers.xqm";
import module namespace syms="lsp/symbols" at "../webapp/lsp/providers/documentSymbols.xqm";
declare variable $src:="sample.docs/parse-pdfbox.xml";
declare variable $parse:=doc($src)/*;

View file

@ -1,6 +1,6 @@
import module namespace hnd="lsp/handlers" at "../webapp/lsp/handlers.xqm";
import module namespace syms="lsp/symbols" at "../webapp/lsp/providers/documentSymbols.xqm";
declare variable $src:="sample.docs/parse-pdfbox.xml";
declare variable $parse:=doc($src)/*;
hnd:symbols($parse )
syms:list($parse )