SecureBlackbox 2020 Node.js Edition

Questions / Feedback?

FormatText Event

Reports XML text that is currently being processed.

Syntax

xadessigner.on('FormatText', [callback])

Callback

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

function(e){ }

The argument 'e' has the following properties:

e.text
e.textType
e.level
e.path

Remarks

TextType parameter specifies the type of the XML text (normal or Base64-encoded) that is stored in the element; Path and Level specify the path to the XML element and its nesting level.

Among other purposes, this event may be used to add whitespace formatting before or after a particular element in the signature.

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