Looks like the documentation for the <switch> tag was already in HEAD, but I didn't notice it. So the time spent in writing the darn thing was in vain.
Backporting the switch docs from HEAD to oacs-4-6 (includes some other things, like documentation for include-optional).