replace All Identifiers In Document
Type: Function
How to get replaceAllIdentifiersInDocument?
JavaScript
import replaceAllIdentifiersInDocument from 'fontoxml-document-from-template/src/replaceAllIdentifiersInDocument.js'
Generates new id attribute values for any nodes within the given documentNode, according to the configuration specified in the unique-id-configurations configuration value.
Arguments
document
Node (Required)
Type: DocumentNode
The document node which to process
blueprint
(Required)
Type: Blueprint
The blueprint in which to replace the placeholders