From: Joe W. <jo...@gm...> - 2011-03-17 11:24:34
|
Hi Jens, >> Yes, I noticed that I was having the problems with XML files being squashed flat again, but I simply create a backup using the Admin Client, that's all. This in itself - for me, using Mac OS 10.6.6 and trunk - removes all space between tags in XML files - it doesn't affect other files. In the database the files are neatly formatted and indented before backup. I take it that this does not happen to you when you make backups with the Admin Client …. >> >> I hope you can help - if with nothing else than you have the same problem! In fact, what I use to copy files out of eXist is a WebDAV client (Transmit on the Mac, desktop mounting on Windows - there are other clients listed in Dannes's recently revised WebDAV documentation in trunk). WebDAV clients preserve the spaces as I set them in oXygen, which is a pretty handy feature. I haven't tested the backup utility much. For example, it would be interesting to restore from backup - would your original whitespace be restored too? (I recall there are various configuration settings related to whitespace handling... would any of these affect the backup/restore process?) > the backup utility will always output the XML as it is stored in > eXist. No indenting is applied. > > I think we could provide a script which just dumps a certain > collection to disk and indents the XML. I'll try to write one. Wolfgang - this sounds useful for folks like Jens who use the backup utility. At the same time, is whitespace preservation one of the goals of the backup utility? Is WebDAV perhaps the better route for this use case? Thanks, Joe |