diff --git a/README.md b/README.md index 9a32692c9b0d5071ebc332a24f6ce48bdc50aa32..50139b706114887956fc00fc7aeb70ab0e5f5849 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ Thie Package contains an Libary for XML<-->JSON Conversion for the DCC (Digital Calibration Certificate). Witch contains an Python Module for the conversion. Aswell as an tornador REST-API Server to remote call this conversion. ## Conversion Rules -0. The XML Document ist converted into a nested dict, containing lists for repatable elements. Repeated elements are determined by there name or by the name of the parent Element. [listDCCElements.json](src/dccXMLJSONConv/data/listDCCElements.json) contains a comprehensive list of the repeated fild names/parent names. +0. The XML Document ist converted into a nested dict, containing lists for repatable elements. Repeated elements are determined by there name or by the name of the parent Element. [schemaTypeCastCache.json]([typeCastDictCreator.py](src/dccXMLJSONConv/data/schemaTypeCastCache.json)) contains a comprehensive list of the repeated fild names/parent names. 1. The actual `string` Conent of an Element is stored as `string` in the `#text` Element of the JSON-Nodes. If the content is an List of strings, the `#list` Element contains the list of elements vastet to float if posible. 2. Since JSON Don't support attributes, all attributes are converted to dict Keys Starting with an @ 3. Comments are converted to an adition dict key '@_Comment' containing a list of all comments in the coresonding XML-Element, the order ist preserved. The actual position of the comment is not. diff --git a/setup.cfg b/setup.cfg index 36b7b0e14c71b0472529169307cd03870a9525ad..f91cf3e296ed7e5b91ac4fea9e3c06936218756f 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = dccXMLJSONConv -version = 2.3.1 +version = 2.3.2 description = Python module for converting XML DCC (https://www.ptb.de/dcc/) to JSON and vice versa long_description = file: README.md long_description_content_type = text/markdown