Interesting—I will try using Update—the actual change is a simple modification of attribute values.
Cheers,
E.
_____________________________________________ Eliot Kimber Sr. Staff Content Engineer O: 512 554 9368
servicenow
servicenow.comhttps://www.servicenow.com LinkedInhttps://www.linkedin.com/company/servicenow | Xhttps://twitter.com/servicenow | YouTubehttps://www.youtube.com/user/servicenowinc | Instagramhttps://www.instagram.com/servicenow
From: Christian Grün christian.gruen@gmail.com Date: Thursday, April 24, 2025 at 8:52 AM To: Eliot Kimber eliot.kimber@servicenow.com Cc: Andy Bunce bunce.andy@gmail.com, basex-talk@mailman.uni-konstanz.de basex-talk@mailman.uni-konstanz.de Subject: Re: [basex-talk] Re: Recovering database in bad state [External Email]
________________________________ Good to know. So the issue is with my attempt to transform a 300MB document, not an issue with BaseX itself. You may be able to save lots of time if you manage to rewrite the XSLT script to XQuery (Update). Here’s a script that creates an element with 1 million nodes, which are i i This message needs your attention
* Someone new is on this email.
Provided by ServiceNow DT (Employee Portal KB0077950) - This banner is visible only to ServiceNow employees. CGBANNERINDICATOR Good to know.
So the issue is with my attempt to transform a 300MB document, not an issue with BaseX itself.
You may be able to save lots of time if you manage to rewrite the XSLT script to XQuery (Update). Here’s a script that creates an element with 1 million nodes, which are immediately deleted again. It takes less than 1 second:
<a>{ (1 to 1000000) ! <b/> }</a> update { delete node ./b }
Best, Christian