[feature] implement support for %output:indent and %output:omit-xml-declaration