diff --git a/docs/v5/1. Getting Started.md b/docs/v5/1. Getting Started.md index a538518f..8021d10e 100644 --- a/docs/v5/1. Getting Started.md +++ b/docs/v5/1. Getting Started.md @@ -3,7 +3,7 @@ Example with no configuration ```js -const XMLParser = require("fast-xml-parse/v5/XMLParser") +const XMLParser = require("fast-xml-parser/v5/XMLParser") const parser = new XMLParser(); //read xmlData your own let result = parser.parse(xmlData, true); @@ -12,7 +12,7 @@ let result = parser.parse(xmlData, true); The default response of parse is built by `JsObjOutputBuilder`. FXP v5 comes with 2 more output builders. And you can set your custom output builder too to customize the output. ```js -const JsObjOutputBuilder = require("fast-xml-parse/v5/OutputBuilders/JsObjBuilder"); +const JsObjOutputBuilder = require("fast-xml-parser/v5/OutputBuilders/JsObjBuilder"); const parser = new XMLParser({ OutputBuilder: new JsObjOutputBuilder() diff --git a/docs/v5/5. ValueParsers.md b/docs/v5/5. ValueParsers.md index 446c3f00..36b3ac19 100644 --- a/docs/v5/5. ValueParsers.md +++ b/docs/v5/5. ValueParsers.md @@ -12,7 +12,7 @@ Entity and date parsers have to be set. Example when you don't override default parsers ```js -const JsObjOutputBuilder = require("fast-xml-parse/v5/OutputBuilders/JsObjBuilder"); +const JsObjOutputBuilder = require("fast-xml-parser/v5/OutputBuilders/JsObjBuilder"); const xmlData = ` 1234 @@ -44,7 +44,7 @@ Output But if you override it then it will use sequence in the order you defined. ```js -const JsObjOutputBuilder = require("fast-xml-parse/v5/OutputBuilders/JsObjBuilder"); +const JsObjOutputBuilder = require("fast-xml-parser/v5/OutputBuilders/JsObjBuilder"); const xmlData = ` 1234 @@ -95,4 +95,4 @@ const outputBuilderOptions = { ] } } -``` \ No newline at end of file +```