Schematron Content Validation
Schematron enables you to enforce content architecture rules for your authoring team as they are authoring in Heretto CCMS.
Schematron Use Case
Schematron is a great solution if you want to validate your DITA content architecture by enforcing content structural rules specific to your organization. For example, you can define a rule that ensures an unordered list element has at least two list item elements.If you are interested in validating the language layer of your content for grammar and style, consider integrating your Heretto CCMS with an external language-validation tool rather than using Schematron rules. 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 adds an orange warning indicator in the Content Editor scroll bar. Hover over the warning indicator to review the triggered 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. For example, Schematron can warn users that a list must contain at least two list items and offer a button like Add a list item that users can click to insert the element with one click of a button.
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.