Schematron

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


Figure 1023. 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 1024. 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.