One of Magenic's consultants did find a non-standard version of ndoc that worked (with some effort he said) to create a chm file. I haven't had time to repeat what he did, and (honestly) I've been hoping that they'd get the new ndoc done soon so I could just use a supported tool...
So you know, you won't be able to replicated what ndoc does just by using xslt. They also use reflection against the assembly to get more information (or at least they did in .NET 1.x).
Copyright (c) Marimer LLC