Schematron

Figure 713. Schematron on top of RelaxNG Slide presentation
Schematron on top of RelaxNG


Figure 715. Using Display #Anchors Slide presentation
Using Display #Anchors

The page's URI based on xml:id value introduction.

Stable https://.../introduction.html#firstSection.

Unstable https://.../introduction.html#d03213


Figure 716. Considerations author based permalink Slide presentation
Requirement

Important elements (<chapter>, <section>, <table>...) must provide an xml:id value.

Implementation choices
  • Modify underlying RelaxNG schema.

    Result: Restricted schema (Inheritance relationship)

  • Add Schematron integrity rule on top of schema.