DocBook V5.0 distribution contains stylesheets db4-upgrade.xsl which is able to convert DocBook V4.x into DocBook V5.0
db4-upgrade.xsl