Description
- Go to https://naturalintelligence.github.io/fast-xml-parser
- Click "Parse to JSON"
- Click "Parse to XML"
- Click "Parse to JSON"
- See error "Error: XML declaration allowed only at the start of the document.:2:6" in JSON panel
Input
(any XML code containing the prolog)
Code
<?xml version="1.0" encoding="UTF-8"?>
<note>
<to>Tove</to>
<from>Jani</from>
<heading>Reminder</heading>
<body>Don't forget me this weekend!</body>
</note>
Output
{
"?xml": "",
"note": {
"to": "Tove",
"from": "Jani",
"heading": "Reminder",
"body": "Don't forget me this weekend!"
}
}
expected data
{
"note": {
"to": "Tove",
"from": "Jani",
"heading": "Reminder",
"body": "Don't forget me this weekend!"
}
}
Would you like to work on this issue?
Bookmark this repository for further updates. Visit SoloThought to know about recent features.
Description
Input
(any XML code containing the prolog)
Code
Output
{ "?xml": "", "note": { "to": "Tove", "from": "Jani", "heading": "Reminder", "body": "Don't forget me this weekend!" } }expected data
{ "note": { "to": "Tove", "from": "Jani", "heading": "Reminder", "body": "Don't forget me this weekend!" } }Would you like to work on this issue?
Bookmark this repository for further updates. Visit SoloThought to know about recent features.