更新时间:2023-01-14 13:46:37
使用 BaseX 9.0,您可以通过 COPYNODE 选项:
With BaseX 9.0, you can temporarily disable node copying via the COPYNODE option:
(# db:copynode false #) { <xml>{ for $item in collection('coll')//item return $item }</xml> }
BaseX - 在 XQuery 中使用封闭 xml 时内存不足