Open yangsongbai1 opened 11 months ago
@yangsongbai1 You suggested result will become (after unparse()
) something like:
<w:document
xmlns:w="http://www.example.com/wordproc">
<w:body><w:p>abc</w:p></w:body>
<w:body><w:p>ghi</w:p></w:body>
<w:body><w:p>mno</w:p></w:body>
<w:body><w:b>def</w:b></w:body>
<w:body><w:i>gkl</w:i></w:body>
</w:document>
There are related issue #247 that suggests better syntax (special $list
key).
When I have the following xml
It parses into json format like this
Restoring again will not guarantee the original order
I want to parse into the following format, how can I achieve this, I tried the force list argument and it didn't work