"CG" == Christian Grün christian.gruen@gmail.com writes:
CG> ..try file:read-text() or file:read-binary(): CG> http://docs.basex.org/wiki/File#file:read-text
They don't work.
The first ruins all brackets it encounters, escaping them.
The latter just returns base64.
There is no way to get the darn file just inserted without mangling.