Re: [basex-talk] fn:serialize() behaviour

2019-01-30 Thread Christian GrĂ¼n
Hi George, Your query will probably give a better result if you wrap head and body into an html element: let $head := let $body := return serialize( element html { $head, $body }, map { "method": "html", "version": "5.0"} ) But you are right, in general it makes no sense to out

[basex-talk] fn:serialize() behaviour

2019-01-29 Thread George Sofianos
Hi, This is probably a non issue, but I thought I should report it anyway. I was playing around with serialization options today and I noticed that: let $head := let $body := return serialize(($head, $body), map { "method": "html", "version": "5.0"}) will return I don't think fn:seria