StartElement Event

Fired when a new element is encountered in the document.

Syntax

json.on('StartElement', [callback])

Callback

The 'callback' is called when the 'StartElement' event is emited.

function(e){ }

The argument 'e' has the following properties:

e.element

Remarks

The StartElement event is fired when a new element is found in the document.

The element name is provided through the Element parameter.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 Node.js Edition - Version 20.0 [Build 8307]