This script injects the input document's text nodes with soft hyphen (U+00AD) at all possible breakpoints following the hyphenation rules of the current language (specified by @xml:lang).
An xml document with @xml:lang on the element surrounding the text nodes to hyphenate.
The input document, hyphenated.
The documents linked below are parts of the Transformer technical documentation. These are developer and systems-administrator centric documents.