Schematron

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


Figure 1056. 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 1057. 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.