-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
DecodingRelated to the importing of EBML dataRelated to the importing of EBML dataSchemaRelated to the EBML schemataRelated to the EBML schemataenhancementNew feature or requestNew feature or requestutilitiesRelating to tools (e.g. util.py)Relating to tools (e.g. util.py)
Description
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):
- Add a parameter to functions like
ebml2xml()that allows a dictionary of element names and encoding functions. Simple, but would take some effort to rework the command-line utilities. - Add an 'encoding' attribute to the element definitions in the schema. A bit more work, but likely a better approach.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
DecodingRelated to the importing of EBML dataRelated to the importing of EBML dataSchemaRelated to the EBML schemataRelated to the EBML schemataenhancementNew feature or requestNew feature or requestutilitiesRelating to tools (e.g. util.py)Relating to tools (e.g. util.py)