We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
There's some bugs in the code related to code at 0 depth outputting unexpected results, e.g.
const table = [ { row: 'bar' }, { row: 'bar2' } ]; const xmlOptions = { header: '<?xml version="1.0" encoding="UTF-16" standalone="yes"?>', indent: ' ' }; console.log(toXML(table, xmlOptions));
Outputs this:
<?xml version="1.0" encoding="UTF-16" standalone="yes"?> <?xml version="1.0" encoding="UTF-16" standalone="yes"?> <row>bar</row> <?xml version="1.0" encoding="UTF-16" standalone="yes"?> <row>bar2</row>
When it should output this:
<?xml version="1.0" encoding="UTF-16" standalone="yes"?> <row>bar</row> <row>bar2</row>
Reference: https://stackoverflow.com/questions/68130732/cant-add-header-info-properly-using-jstoxml
The text was updated successfully, but these errors were encountered:
better handling for detecting start of output (fixes #48)
146f3c3
6bf5868
No branches or pull requests
There's some bugs in the code related to code at 0 depth outputting unexpected results, e.g.
Outputs this:
When it should output this:
Reference: https://stackoverflow.com/questions/68130732/cant-add-header-info-properly-using-jstoxml
The text was updated successfully, but these errors were encountered: