Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/v4/2.XMLparseOptions.md
Original file line number Diff line number Diff line change
Expand Up @@ -1001,9 +1001,9 @@ const parser = new XMLParser(options);
const output = parser.parse(xmlDataStr);
```

## captureMetadata
## captureMetaData

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.
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.

`XMLParser.getMetaDataSymbol()` will return the symbol. Being a Symbol, this property
will not normally appear in, for example, `Object.keys`.
Expand Down