Skip to content
New issue

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

Support for JSONML #36

Open
techdragon opened this issue Dec 17, 2018 · 2 comments
Open

Support for JSONML #36

techdragon opened this issue Dec 17, 2018 · 2 comments

Comments

@techdragon
Copy link

techdragon commented Dec 17, 2018

It would be very handy to support JSONML as its one of the new "standards" designed with the goal of handling a round trip from XML to JSON and back to XML, reliably without losing information. it seems to be the last major format from this page
http://wiki.open311.org/JSON_and_XML_Conversion/#jsonml-convention that you don't support.

More info can be found here as well - https://en.wikipedia.org/wiki/JsonML

@dagwieers
Copy link
Contributor

@techdragon We accept contributions ;-)

@techdragon
Copy link
Author

I've got a rough first draft of a version that works for JSONML, but its currently only working with the <class 'lxml.etree._Element'> objects produced by lxml.etree.fromstring() and not the <class 'xml.etree.ElementTree.Element'> objects produced by lxml.etree.ElementTree.fromstring() which you use in all your examples. So I've got a bit more work to do making it generalized to work with just the built in python ElementTree.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants