[mod] improve formatting

This commit is contained in:
Andy Bunce 2025-09-11 18:18:56 +01:00
parent 0508901f72
commit 877e7b8d13
5 changed files with 47 additions and 17 deletions

View file

@ -1,3 +1,4 @@
(: parse xq and save result:)
import module namespace p="xq4" at "C:\Users\mrwhe\git\quodatum\basex-lsp\webapp\lsp\xq4.xqm";
declare variable $generator.xpath :="https://raw.githubusercontent.com/dnovatchev/Articles/refs/heads/main/Generators/Code/generator.xq";
@ -5,8 +6,8 @@ declare variable $pdfbox-good.xqm :="../../test/sample.docs/pdfbox.xqm";
declare variable $dest:="C:\Users\mrwhe\git\quodatum\basex-lsp\test\sample.docs\parse-pdfbox.xml";
let $parse:= $pdfbox-good.xqm
=>fetch:text()
=>lazy:cache()
=>p:parse-Module()
=>fetch:text()
=>lazy:cache()
=>p:parse-Module()
return file:write($dest,$parse)