Schematron Content Validation
Schematron enables you to enforce content architecture rules for your authoring team.
Schematron Use CaseSchematron is a great solution if you want to validate your DITA content architecture by enforcing structural rules specific to your organization. For example, you can define a rule that enforces an unordered list element to have at least two list item elements.
If you aim to extensively validate the language layer of your content for grammar and style, consider integrating your Heretto CCMS instance with an external language-validation tool (for example, HyperSTE). For more information, contact your Customer Success Manager.
Basic Schematron Rules
When Schematron is enabled, Heretto CCMS continuously evaluates your content and structure against any configured Schematron rules. When it detects a match, Heretto CCMS surrounds the matching content with an orange border, and inserts a tick mark in the right side of the Content Editor. Hover over the tick mark to review the triggered Heretto CCMS rule.
Schematron Rules with QuickFix
Basic Schematron rules can be extended to trigger defined QuickFix activities with a click of a button. Currently, the QuickFix implementation in Heretto CCMS enables you to either add or replace XML nodes, that is, elements or attributes.
Schematron Rules Development
Out of the box, Heretto provides a number of generic Heretto rules.
To implement custom Schematron rules, contact your Customer Success Manager. You can compose the rules on your own and provide them to Heretto for installation in your instance.