Jed Parsons <jedp@ilm.com> writes: > I'm losing <!DOCTYPE> information when going from text to dom and > back to text again. That is not surprising; none of the DOM implementations preserves this information. If you need the functionality, you are encouraged to research this issue, and propose fixes; please expect this to be very difficult. Regards, Martin