Hi Genneva,
As I was testing some xml files, I realized that xml file with prolog, the prolog will always get removed when persisted in basex. Is that the expected behavior?
Yes it is. There is no way to keep the prolog, but you can custom serialization options to recreate them when returning your documents [1].
Hope this helps, Christian
[1] http://docs.basex.org/wiki/Serialization
Is there some option that the prologs can be saved along with the xml file ?
Any tips would be greatly appreciated. Thanks!
Regards, -Genneva