https://openacs.org/doc/openacs-4/docbook-primer.html.
If you run into problems, this thread may help:
https://openacs.org/bboard/q-and-a-fetch-msg.tcl?msg_id=0005rY&topic_id=12&topic=OpenACS%204%2e0%20Design
/Lars