Hi there, I was wondering if it is possible to let tidy repair and format only parts of your html without putting the <head> and <doctype> stuff in. I.e. only the content of the page between the <body> tags. The reason for that is twofold: 1. I want to cache that repaired string so I don't have to call that repair function on every page call, 2. I am using xhtml1.1 as DOCTYPE and tidy only gives me the 1.0 transitional version. Thanks, Thomas