Hi Depending on the tidy library you are using, you should be able to pass in the parameter
add-xml-decl as boolean false. The Tidy library that you use should then not add the XML prolog. See: "http://tidy.sourceforge.net/docs/quickref.html#add-xml-decl" Cheers James ****************************************************** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ******************************************************