Skip to content

When converting XML to JSON, there needs to be an order。 #709

@469113827

Description

@469113827

my xml:

<simplesect kind="par"><para>result - hello <computeroutput><ref refid="" kindref="compound">ProtocolNotifyInfo</ref></computeroutput> bye </para>
</simplesect>

I want to know the sequential relationship between hello, ProtocolNotifyInfo, and bye,but get:

 {
        "_": "result - hello  bye ",
        "computeroutput": [
            {
                "ref": [
                    {
                        "_": "ProtocolNotifyInfo",
                        "$": {
                            "refid": "",
                            "kindref": "compound"
                        }
                    }
                ]
            }
        ]
    }
```,

  I don't know where to put ProtocolNotifyInfo。 thinks

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