Core jDocBook functionality used by gradle-jdocbook and maven-jdocbook-plugin