Subject:DocBook Author:(Deleted User) Date:09 Nov 2009 01:16 PM
Hi Mark,
you didn't say if you were using a XSLT 2.0 processor, so I wrote this XSLT 1.0 stylesheet that, albeit being less clear, should do the job for you.
Subject:DocBook Author:(Deleted User) Date:11 Nov 2009 12:20 PM
Hi Mark,
the XML you have posted now is very different from the first one (and not only for its complexity, also for the different attribute values)!
However, here is starting point for you: the stylesheet has a bunch of templates, each one dealing with the translation of a single element.
Subject:DocBook Author:Mark Baird Date:18 Nov 2009 02:33 PM
That worked great. You solved my problem and I learned a few new things with XSLT. Thank you. I did not want to finish this transform in C# using the XMLReader and XMLWriter.