xhtml to xmlspec

I know it probably can't be done entirely, but a stylesheet that does
most of the work of transforming a spec in XHTML into one in xmlspec
(i.e. the inverse of xmlspec.xsl) would be incredibly useful for people
wanting to switch to xmlspec. Has anybody worked on one?

I'm sure it's not that hard to at least:
- group <h*> to <section>
- renaming of inline links: <a> to <link>, etc.
- generate the bibliography (just joking, although it's probably not impossible...)
- remove the ToC
etc.

Max.

Received on Thursday, 30 June 2005 07:53:11 UTC