Skip to content

writer function overrides no longer functional from end(options)? #254

Open
@btsimonh

Description

@btsimonh

using xmlbuilder via xml2js, this file:
https://github.com/Leonidas-from-XIV/node-xml2js/blob/master/src/builder.coffee
calls end with writer options.

In previous versions, writer options could look like:

{
            'pretty': true,
            'indent': ' ',
            'newline': '\n',
            writer: { element: newElement, /*endline: newEndline*/ },
}

but the current version (and from version 11?) discards the 'writer' part of the options in 'filterOptions' (in XMLWriterBase).

the wiki:
https://github.com/oozcitak/xmlbuilder-js/wiki
still states the functions can be overridden.

Is there a way to override these functions?

br,
Simon

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions