<commit_before># XML to JSON Transformation

![alt text](../../images/icon-xml-to-json.png)

### Sample use case

Convert an XML-formatted response to JSON. 

### Set up, deploy, invoke
<commit_msg>revision<commit_after># XML to JSON Transformation

![alt text](https://github.com/apigee/api-platform-samples/blob/master/images/icon-xml-to-json.jpg)

### Sample use case

Convert an XML-formatted response to JSON. 

### Set up, deploy, invoke

{'fraction_non_alphanumeric': 0.1463963963963964, 'fraction_numerical': 0.0, 'mean_word_length': 4.235294117647059, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7201752', 'n_tokens_mistral': 145, 'n_tokens_neox': 142, 'n_words': 40}