| -----Original Message----- | From: Jirka Kosek | | wolfgang haefelinger wrote: | | > there is a XSLT stylesheet which turns a Docbook 4.x document into | > 5.0. Now I wonder whether there is also the equivalent important | > stylesheet which downgrades a 5.0 document into 4.x? | | Yes, there is: | | http://docbook.sourceforge.net/release/xsl/current/common/stripns.xsl | | it probably doesn't cover 100% of differences between 5.0 | and 4.x, but | it should be enough in the most cases. Just give it a try.
I would answer the OP like this: 1. No, there is no db5-downgrade.xsl that does the inverse of db4-upgrade.xsl. 2. Yes, the stripns.xsl stylesheet module does some downgrading. However, I don't think that this is a good thing. IMHO, stripns.xsl should only strip the namespace and add an xml:base attribute. The fact that it does more than that is an undocumented "feature" that trips people up. For a recent example, see http://markmail.org/message/3bteilha6jeeudj3. Mauritz --------------------------------------------------------------------- To unsubscribe, e-mail: docbook-unsubscr...@lists.oasis-open.org For additional commands, e-mail: docbook-h...@lists.oasis-open.org