Re: [basex-talk] Formatting attributes as an indented list?

2023-02-13 Thread Christian Grün
Hi Patrick, There’s currently no serialization parameter to control the custom indentation of attributes. If I get you correctly, you’d like to get attributes indented if the string length of the element name and the attributes exceed a specific maximum length? Best, Christian On Mon, Feb 13,

Re: [basex-talk] Help Diagnosing Memory Leak in SAXWrapper or Associated Code

2023-02-13 Thread Eliot Kimber
Christian, Thanks for the top—I’ll try the flight recorder. Cheers, E. _ Eliot Kimber Sr Staff Content Engineer O: 512 554 9368 M: 512 554 9368 servicenow.com LinkedIn |

[basex-talk] Formatting attributes as an indented list?

2023-02-13 Thread Patrick Durusau
Greetings! I've been tasked with using BaseX to produce: *          Παῦλος * The indenting is easy enough and I can even make it deeper if required but is there a command for serialization that will properly format the attributes?

Re: [basex-talk] XQuery Prolog with serialization settings - basex "Unknown option 'basex'?

2023-02-13 Thread Patrick Durusau
Thanks! That works! I have a separate question on formatting attributes but will post that separately. Hope you are having a great week! Patrick On 2/13/23 14:39, Martin Honnen wrote: On 2/13/2023 8:28 PM, Patrick Durusau wrote: Greetings! I have the following in the prolog of an

Re: [basex-talk] XQuery Prolog with serialization settings - basex "Unknown option 'basex'?

2023-02-13 Thread Martin Honnen
On 2/13/2023 8:28 PM, Patrick Durusau wrote: Greetings! I have the following in the prolog of an XQuery: declare namespace output = 'http://www.w3.org/2010/xslt-xquery-serialization'; declare option output:method 'basex'; declare option output:basex 'indent=yes, newline=\n'; I'm following

[basex-talk] XQuery Prolog with serialization settings - basex "Unknown option 'basex'?

2023-02-13 Thread Patrick Durusau
Greetings! I have the following in the prolog of an XQuery: declare namespace output = 'http://www.w3.org/2010/xslt-xquery-serialization'; declare option output:method 'basex'; declare option output:basex 'indent=yes, newline=\n'; I'm following the example at:

Re: [basex-talk] Help Diagnosing Memory Leak in SAXWrapper or Associated Code

2023-02-13 Thread Christian Grün
Hi Eliot, I cannot offer an answer to your question; I can just guess it must be Xerces that triggers the OOM. You could add the following Java options to your BaseX start script and open the resulting jfr (Java Flight Recorder) file with Java Mission Control:

Re: [basex-talk] basexhttp: default to index.html

2023-02-13 Thread Christian Grün
Hi Christoph, Glad to hear from you. Thanks for your description on how to get BaseX running on Raspberry Pi. By default, the web.xml settings should work out of the box. If the full distribution of BaseX is used, and if the start basexhttp is used, there should be no need to adjust the