Skip to main content
Version: Next

Generate SSML

To convert node data into an SSML structure, configure the serializer method of a module to return a string representing the SSML structure, thereby achieving the conversion.

For example, the Attribute module converts nodes into the SSML structure shown below by configuring its serializer method. For details on the Attribute module’s serializer implementation, please refer to the source code .