Skip to content

Commit 42fa3c3

Browse files
committed
separate XML validator, UPDATE DOCS
1 parent d6d8042 commit 42fa3c3

7 files changed

Lines changed: 19 additions & 423 deletions

File tree

‎README.md‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -140,10 +140,6 @@ Bundle size
140140
</ol></td>
141141
<td><ol>
142142
<li></li><a href="./docs/v6/1.GettingStarted.md">Getting Started</a></li>
143-
<li><a href="./docs/v6/2.Features.md">Features</a></li>
144-
<li><a href="./docs/v6/3.Options.md">Options</a></li>
145-
<li><a href="./docs/v6/4.OutputBuilders.md">Output Builders</a></li>
146-
<li><a href="./docs/v6/5.ValueParsers.md">Value Parsers</a></li>
147143
</ol></td>
148144
</tr>
149145
</table>

‎docs/v6/1.GettingStarted.md‎

Lines changed: 9 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,15 @@
11

2+
# Flexible-XML-Parser
23

3-
Example with no configuration
4+
FXP v6 is now available as a separate package, offering:
45

5-
```js
6-
const XMLParser = require("fast-xml-parser/src/v6/XMLParser")
7-
const parser = new XMLParser();
8-
//read xmlData your own
9-
let result = parser.parse(xmlData, true);
10-
```
6+
- ✅ Improved performance and memory usage
7+
- ✅ Inbuilt error handling and validation
8+
- ✅ Cleaner, more maintainable codebase
9+
- ✅ Highly customizable output. Build whatever you want not only JS object.
10+
- ✅ Highly customizable value parsing
11+
- ✅ Stream processing
1112

12-
The default response of parse is built by `JsObjOutputBuilder`. FXP v6 comes with 2 more output builders. And you can set your custom output builder too to customize the output.
13-
14-
```js
15-
const JsObjOutputBuilder = require("fast-xml-parser/src/v6/OutputBuilders/JsObjBuilder");
16-
17-
const parser = new XMLParser({
18-
OutputBuilder: new JsObjOutputBuilder()
19-
});
20-
//read xmlData your own
21-
let result = parser.parse(xmlData, true);
22-
```
2313

14+
Please refer [flexible-xml-parser](https://github.com/nodable/flexible-xml-parser)
2415

‎docs/v6/2.Features.md‎

Lines changed: 0 additions & 5 deletions
This file was deleted.

‎docs/v6/3.Options.md‎

Lines changed: 0 additions & 119 deletions
This file was deleted.

‎docs/v6/4.OutputBuilders.md‎

Lines changed: 0 additions & 179 deletions
This file was deleted.

0 commit comments

Comments
 (0)