From: Immanuel N. <imm...@gm...> - 2013-08-13 11:11:42
|
How do I upload files from my file system into existdb via xquery (not through the web-interface)? My idea is this: xmldb:store("/db/xml/","my-file.xml",file:read-unicode("/my/path/my-file.xml")) However, it seems that this way exist applies some pretty-printing on my-file.xml during the upload. At least the /my/path/my-file.xml and /db/xml/my-file.xml don't have the same layout (though they are possibly the same in terms of XML infoset). Is there a better way to upload files from the file system into existdb? Regards Immanuel |