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
Copy file name to clipboardExpand all lines: docs/v4/2.XMLparseOptions.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1001,9 +1001,9 @@ const parser = new XMLParser(options);
1001
1001
constoutput=parser.parse(xmlDataStr);
1002
1002
```
1003
1003
1004
-
## captureMetadata
1004
+
## captureMetaData
1005
1005
1006
-
If `captureMetadata` is true, then a [Symbol](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Symbol) is added to nodes with metadata about that node.
1006
+
If `captureMetaData` is true, then a [Symbol](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Symbol) is added to nodes with metadata about that node.
1007
1007
1008
1008
`XMLParser.getMetaDataSymbol()` will return the symbol. Being a Symbol, this property
1009
1009
will not normally appear in, for example, `Object.keys`.
0 commit comments