highsource / highsource/jsonix

[question] How to add xml declaration to marshalDocument

Open
#191 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
369
Forks
85
PR merge metrics
No merged PRs in 30d

Description

Hi,

I just started with jsonix in my project. I succesfully created a mapping from an xsd and I am able to create a marshalDocument.
But whether I use marshalString or marshalDocument, there is no xml declaration (eg. ``) present in the generated xml.

I've searched github and stackoverflow, but I'm unable to find an answer on how to add a xml declaration using jsonix.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.