<commit_before># tXml
a very small xml parser in pure javascript

This lib only provides one single method. **tXml()**

1. this code is about 130 lines, can be easily extended 
2. this code is 650byte minified + gzipped
3. this code can running in a worker 
4. this code is parsing at avarage the same speed as native DOMParser + potential to be faster
5. this code is easy to read and good for study. 
6. this code creates a domObject with minimal footprint, that is easy to traverse.
7. this code has proved in different projects.
8. this code can even parse handwritten XML that contains various errors

so, there are good reasons to give tXml.js a try. 

###Methods
**tXml** *(XML-string, ID-string(optional))*
  1. **XML string** is the XML to parse.
  2. **ID-String** is optional an ID of some object. that can be queried. Using this is incredable fast.
  
###Developer
<NAME>  
![alt text](https://avatars1.githubusercontent.com/u/4189801?s=150) <commit_msg>added the XML feature List<commit_after># tXml
a very small xml parser in pure javascript

This lib only provides one single method. **tXml()**

1. this code is about 130 lines, can be easily extended 
2. this code is 650byte minified + gzipped
3. this code can running in a worker 
4. this code is parsing at avarage the same speed as native DOMParser + potential to be faster
5. this code is easy to read and good for study. 
6. this code creates a domObject with minimal footprint, that is easy to traverse.
7. this code has proved in different projects.
8. this code can even parse handwritten XML that contains various errors

so, there are good reasons to give tXml.js a try. 

###Methods
**tXml** *(XML-string, ID-string(optional))*
  1. **XML string** is the XML to parse.
  2. **ID-String** is optional an ID of some object. that can be queried. Using this is incredable fast.

##XML - features
  1. tags
  2. childTags
  3. textnodes
  4. whitespaces
  5. attribures with single and double quotes
  6. attributes without value
  7. xmlComments (ignored)
  8. embedded CSS and Javascript
  9. HTML singleTag elements br, img, link, meta, hr

###Developer
<NAME>  
![alt text](https://avatars1.githubusercontent.com/u/4189801?s=150) 
{'fraction_non_alphanumeric': 0.07974626189397371, 'fraction_numerical': 0.028545536927956503, 'mean_word_length': 3.728051391862955, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 3}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4274207', 'n_tokens_mistral': 693, 'n_tokens_neox': 641, 'n_words': 342}