Re: [basex-talk] BaseX XSLT fails after returning first result

2020-05-21 Thread Furst, Thomas
this best. I am going to explore the pure XQuery rout this afternoon. From: Christian Grün Sent: Thursday, May 21, 2020 12:47 PM To: Furst, Thomas Cc: BaseX Subject: Re: [basex-talk] BaseX XSLT fails after returning first result Your query might be much slicker and more efficient if you wrote

Re: [basex-talk] BaseX XSLT fails after returning first result

2020-05-21 Thread Christian Grün
Your query might be much slicker and more efficient if you wrote it completely in XQuery. Did you think about that? Furst, Thomas schrieb am Do., 21. Mai 2020, 17:22: > I have a large XML file stored in BaseX that I need to split up into > smaller, modular documents. I have created an XSL

Re: [basex-talk] BaseX XSLT fails after returning first result

2020-05-21 Thread Imsieke, Gerrit, le-tex
Alternatively, apply your stylesheet using xslt:transform-text() instead of xslt:transform(). On 21.05.2020 18:33, Imsieke, Gerrit, le-tex wrote: Hi Tom, The problem is most probably that your XSLT doesn’t create a *primary* output. It just writes something to another result-document.

Re: [basex-talk] BaseX XSLT fails after returning first result

2020-05-21 Thread Imsieke, Gerrit, le-tex
Hi Tom, The problem is most probably that your XSLT doesn’t create a *primary* output. It just writes something to another result-document. However, the interface for invoking an XSLT expects some result document. So if you just create a element next to and then discard it, it should just

[basex-talk] BaseX XSLT fails after returning first result

2020-05-21 Thread Furst, Thomas
I have a large XML file stored in BaseX that I need to split up into smaller, modular documents. I have created an XSL file to do so: http://www.w3.org/1999/XSL/Transform; xmlns:xs="http://www.w3.org/2001/XMLSchema; exclude-result-prefixes="xs" version="2.0">