John L. Clark wrote: > The Convert command (Edit > Convert...) nicely maintains the content of > the converted element (and in fact is constrained so that the only > options for the convert are the ones that are legal given the content > model of the element). I would like to ask for an enhancement to this > command. Would it make sense to also maintain the attribute values of > the converted element (at least where attribute `n` is allowed on both > the current and the target element)? > > I stumbled across this desire when performing a fairly simple action. I > needed to convert a `section` of a DocBook document that I was writing > into an `appendix`. Conveniently (and by design), both of these have > the same content model, so after moving the section to the end of the > document, I could easily convert it to an `appendix`. However, after > converting it, cross references to it were broken, as it no longer had > its `id` attribute set. At least in this case it makes sense to me to > maintain the attribute, and I think it would make sense in other cases > as well.
This certainly makes sense but surprisingly, this is not easy to implement. I'll add this RFE to our User's Wish List.

