== Xerces Parser == "format-pretty-print" LSSerializer parameter is not yet implemented (until Xerces-J 2.7.1) So, with Xerces I can't serialize XML in pretty format, when the XML document uses namespaces.