RNG
OASIS DocBook TC · 5.2
DocBook 5.2
Books, articles and reference documentation written in DocBook.
About
DocBook is a vocabulary for technical documentation, published as books, help systems and websites. Version 5 is defined in RelaxNG.
Good to know
- The schema also embeds a few Schematron rules; only the RelaxNG grammar is checked here.
Example document
article.xml · 703 B · valid against this schema
In CI and from code
The same schema by its name, docbook-5.2, through the API.
npx @xmlvalid/cli validate "**/*.xml" --schema docbook-5.2
- uses: xmlvalid/validate-action@v1
with:
files: "**/*.xml"
schema: docbook-5.2
api-key: ${{ secrets.XMLVALID_API_KEY }}
curl https://xmlvalid.com/api/v1/validations \
-H "Authorization: Bearer $XMLVALID_API_KEY" \
-F document={{ $schema->example ?? 'document.xml' }} -F schema=docbook-5.2
Free accounts get 100 API validations a month. On Pro, a URL monitor can check a published document against this schema every hour and email you when it breaks. More CI setups