"Diez B. Roggisch" <de... at nospam.web.de> wrote: > The most pragmatic solution would be to rip the doctype out using simple > string methods and/or regexes. Thank you, Diez and Paul; I took Diez's solution, and it works well enough for me. > Diez -Wm