replaceAllIdentifiersInDocument

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

  1. documentNode

    (Required)

    Type: DocumentNode

    The document node which to process

  2. blueprint

    (Required)

    Type: Blueprint

    The blueprint in which to replace the placeholders