Re: [basex-talk] Flat XML fods database

2020-02-14 Thread thufir
Hi Bridger, thanks, and yes, I have her book -- still reading it. But I'll skip ahead to that section :) -Thufir On 2020-02-14 5:05 a.m., Bridger Dyson-Smith wrote: Hi Thufir, You might find Priscilla Walmsley's Functx library[1] section on namespaces helpful (or something else interest

Re: [basex-talk] Flat XML fods database

2020-02-14 Thread Bridger Dyson-Smith
Hi Thufir, You might find Priscilla Walmsley's Functx library[1] section on namespaces helpful (or something else interesting in the functions listed there). Michael - that's a very nice FLOWR! Thank you for sharing. Best, Bridger [1] http://www.xqueryfunctions.com/xq/c0021.html On Fri, Feb 14

Re: [basex-talk] Flat XML fods database

2020-02-14 Thread Michael Seiferle
Hi Thufir, I think you might look up the namespaces from the Libre Office File like so: > ( > for $node in $doc//(@*,*) > let $nn := node-name($node) > let $ns-uri := namespace-uri-from-QName($nn) > let $prefix := prefix-from-QName($nn) > where $ns-uri > return ``[declare namespace `

Re: [basex-talk] Flat XML fods database

2020-02-14 Thread thufir
I think I mainly need to add a namespace for fods: thufir@dur:~/fods/flwor$ thufir@dur:~/fods/flwor$ basex text.xq Stopped at /home/thufir/fods/flwor/text.xq, 3/14: [XPST0081] No namespace declared for 'text:p'. thufir@dur:~/fods/flwor$ thufir@dur:~/fods/flwor$ cat text.xq for $foo in db:open(

[basex-talk] Flat XML fods database

2020-02-13 Thread thufir
Hi all, I've loaded a .fods file from Libre Office into BaseX and am looking to identify bold cells. This is totally off-topic to BaseX itself, but does anyone have experience in working with .fods files? thanks, Thufir