eXist-db/exist — pull request #148 by wolfgangmm (2014-02-12 11:36:11+00:00)
Title: Make serialization functions more consistent

The xquery functions spec defines a standard way for passing serialization options to fn:serialize as an xml fragment. Use the same mechanism for eXist's file:serialize and util:serialize functions. For backwards compatibility, both functions still allow parameters to be passed in as string.