Relax NG to html via docbook?

2008-05-29T18:45:55Z
Dave Pawson.  link
Home

Relax NG to html via docbook?

Relax NG to html via docbook?

I've spent some time looking at using docbook to get from a relax NG schema to documentary HTML via docbook. It all started when I was trying to understand NVDL. I wanted to add (tangle and weave type) documentation to the schema as I grasped what each element/attributes is all about. I think tdg is a really useful piece of work. Thinking I could steal some ideas from that I pulled the svn sources and started browsing. Sheesh. I kept interrupting ndw with questions, even so it's a slow job. It's full of Makefiles, which I hardly comprehend. I found some ant scripts, and it took an answer on the ant mailing list before I found out that the class loader issues will stop the task definition for beanshell working with an explicit classpathref (half a day). Eventually got the ant scripts working (way big! Great tutorial in using ant. I'm impressed). Didn't help me much though. Scripts need to be selectively used for the build. On the way I found out how the relax NG schema is structured and today tried to write a Schematron script to validate my test schema, using the same rules that docbook seems to use. Then I found out my Schematron implementation is flawed with respect to iso:diagnostics. Grrr. One forward and two back. I've a mental picture of the build process though, so I may be able to get beyond the bare html I have so far.

I now have a picture in mind, a bash script doing most of the heavy lifting (ant later) an my brain gently frying. Enough for tonight.

Keywords: docbook

Comments (View)

Return to main index