Does eXist-db compression:zip function add XML declaration
问题 I have an XQuery function to convert a group of XML files to HTML and Zip them. It runs a trasform on each file to create <entry> elements. Starting with that function: declare function xport:make-sources( $path as xs:string) as item()* { for $article in collection(xmldb:encode-uri($path)) let $docnum := $article/article/div[@class = 'content']/@doc/string() return <entry name="{concat($docnum,'.html')}" type='text' method='store'> {transform:transform($article, doc("/db/EIDO/data/edit/xsl