<http://forum.pspad.com/read.php?f=2&i=11860&t=11860> ----------------------------------------------------------------
I have tried lots of different configuration variations with the Tidy built into PSPad editor trying to get it to tidy up an XHTML file without adding add an XML declaration. According to the Tidy documentation at http://tidy.sourceforge.net/docs/quickref.html#add-xml-decl, the add-xml-decl configuration option, "specifies if Tidy should add the XML declaration when outputting XML or XHTML... If the encoding for the output is different from 'ascii', one of the utf encodings or 'raw', the declaration is always added as required by the XML standard." When I set add-xml-decl:no and output encoding to acsii, I still get an XML declaration. I've tried other input/output encodings, but PSPad's Tidy always inserts the XML declaration when output-xhtml is set. Other Tidys (e.g., jEdit, TSWebEditor) don't behave this way. Or am I missing something? -- PSPad freeware editor http://www.pspad.com
