Per-element-type encoding #120
Labels
Decoding
Related to the importing of EBML data
enhancement
New feature or request
Schema
Related to the EBML schemata
utilities
Relating to tools (e.g. util.py)
When exporting to XML, there are various cases in which it would be useful to specify how individual element values get converted to text, similar to the BinaryElement encoding added in PR #99. Specifically, there are cases in which certain IntegerElements would be more easily read (by humans) if displayed in hex.
There are a couple of things that could be done (not mutually exclusive):
ebml2xml()
that allows a dictionary of element names and encoding functions. Simple, but would take some effort to rework the command-line utilities.The text was updated successfully, but these errors were encountered: