diff --git a/docs/v4/3.XMLBuilder.md b/docs/v4/3.XMLBuilder.md index 2cf83e21..acd92557 100644 --- a/docs/v4/3.XMLBuilder.md +++ b/docs/v4/3.XMLBuilder.md @@ -263,7 +263,7 @@ const xmlData = ` `; const options = { - // suppressEmptyNode: true, + // suppressUnpairedNode: true, unpairedTags: ["unpaired"] }; const parser = new XMLParser(options); @@ -277,21 +277,20 @@ Output value - - - + + + -``` -when you sets `suppressUnpairedNode: true`; +Now if you set `suppressUnpairedNode: false`. You'll get following output ```xml - value - - - - + value + + + + ```