1
0
Fork
You've already forked xml-codec-parser
0
Parser for erlang fast_xml XML specification files
  • Python 100%
2024年03月18日 20:37:21 +01:00
erl-xml-codec-parser.py Add erl-xml-codec-parser 2024年03月18日 20:37:15 +01:00
README.md Add README with example usage 2024年03月18日 20:37:21 +01:00

python-based erlang fastxml xml codec parser

This is a parser for XML specification files for the erlang fast_xml parsing library. It allows to use the XML specification data for other use-cases, e.g. generating parsing code in other languages.

A good example is the xmpp_codec.spec file from ejabberd's XMPP library p1-xmpp:

wget https://github.com/processone/xmpp/raw/master/specs/xmpp_codec.spec
./erl-xml-codec-parser.py xmpp_codec.spec

This outputs the data from it in JSON.