BaseXdb / basex

BaseX Main Repository.
http://basex.org
BSD 3-Clause "New" or "Revised" License
691 stars 265 forks source link

XQuery: Stream text strings to files #2117

Closed ChristianGruen closed 2 years ago

ChristianGruen commented 2 years ago

The contents of the files a and b should be identical:

XQUERY file:write-text('a', '°')
XQUERY file:write-text('b', file:read-text('a'))