From: Adam R. <ad...@ex...> - 2013-08-13 20:25:29
|
What differs in the documents? If they are the same infoset, I guess you have just gained/lost indenting? On 13 Aug 2013 12:12, "Immanuel Normann" <imm...@gm...> wrote: > 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 > > > ------------------------------------------------------------------------------ > Get 100% visibility into Java/.NET code with AppDynamics Lite! > It's a free troubleshooting tool designed for production. > Get down to code-level detail for bottlenecks, with <2% overhead. > Download for free and get started troubleshooting in minutes. > http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk > _______________________________________________ > Exist-open mailing list > Exi...@li... > https://lists.sourceforge.net/lists/listinfo/exist-open > > |