You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Validate XML data syntactically. Use [detailed-xml-validator](https://github.com/NaturalIntelligence/detailed-xml-validator/) to verify business rules.
10
+
* Parse XML to JS Objectand vice versa
11
+
* Common JS, ESM, and browser compatible
12
+
* Faster than any other pure JS implementation.
13
+
14
+
It can handle big files (tested up to 100mb). XML Entities, HTML entities, and DOCTYPE entites are supported. Unpaired tags (Eg `<br>` in HTML), stop nodes (Eg `<script>` in HTML) are supported. It can also preserve Order of tags in JS object
15
+
10
16
---
17
+
# Your Support, Our Motivation
11
18
12
-
<small>Checkout our new library [Text2Chart](https://solothought.com/text2chart/flow) that constructs flow chart out of simple text. Very helpful in creating or alayzing an algorithm, and documentation purpose</small>
Don't forget to check our new library [Text2Chart](https://solothought.com/text2chart/flow) that constructs flow chart out of simple text. Very helpful in creating or alayzing an algorithm, and documentation purpose.
* Compatible to node js packages, in browser, and in CLI (click try me button above for demo)
90
-
* Faster than any other pure JS implementation.
91
-
* It can handle big files (tested up to 100mb).
92
-
* Controlled parsing using various options
93
-
* XML Entities, HTML entities, and DOCTYPE entites are supported.
94
-
* unpaired tags (Eg `<br>` in HTML), stop nodes (Eg `<script>` in HTML) are supported.
95
-
* You can restore almost same XML from JSON
96
-
* Supports comments
97
-
* It can preserve Order of tags in JS object
98
-
* You can control if a single tag should be parsed into array.
99
-
* Supports parsing of PI (Processing Instruction) tags with XML declaration tags
100
-
* And many more other features.
101
-
102
-
## v6
103
-
I developed v6 in Apr 2023. And I didn't get the chance to complete all the features. I've ensured that new features don't impact performance. With v6, you have more control on parsing output. Check [docs](./docs/v6) for syntax help and basic understanding.
104
-
105
-
Please leave a comment in discussion forum for your suggestions and if you really need v6.
95
+
# More about this library
106
96
107
97
## How to use
108
98
@@ -153,7 +143,7 @@ Bundle size
153
143
| fxp.min.js | 26K |
154
144
| fxvalidator.min.js | 5.7K |
155
145
156
-
###Documents
146
+
## Documents
157
147
<table>
158
148
<tr><td>v3</td><td>v4 and v5</td><td>v6</td></tr>
159
149
<tr>
@@ -179,8 +169,9 @@ Bundle size
179
169
</tr>
180
170
</table>
181
171
182
-
**note**: version 6 is released with version 4 for experimental use. Based on it's demand, it'll be developed and the features can be different in final release.
183
-
Version 5 has the same functionalities as version 4.
172
+
**note**:
173
+
- Version 6 is released with version 4 for experimental use. Based on it's demand, it'll be developed and the features can be different in final release.
174
+
- Version 5 has the same functionalities as version 4.
184
175
185
176
## Performance
186
177
<small>negative means error</small>
@@ -198,10 +189,9 @@ Version 5 has the same functionalities as version 4.
0 commit comments