Many thanks, your mail caused me to take another look. I'd made a dumb error and placed the declaration within a <xsl:template match="/"> instead of at the top of the doc as it should of been... Doh!
All the best, Mark On 5/9/04 10:04 pm, "Michael A Nachbaur" <[EMAIL PROTECTED]> wrote: > On September 5, 2004 12:38 pm, Freeloader Groups wrote: >> Hi All, >> I¹m tying to clean up my HTML, first step add the proper DOCTYPE >> declaration! >> >> Problem is I can¹t see to get AxKit to output the proper directive. I >> currently have an xml:output within my top level style sheet that looks >> something like; >> >> <xsl:output method="xml" version="1.0" media-type="text/html" >> doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN" >> doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"/> > > I have the following in one of my stylesheets: > > <xsl:output method="html" indent="no" encoding="iso-8859-1" > doctype-public="-//W3C//DTD HTML 4.01 Strict//EN" > doctype-system="http://www.w3.org/TR/html4/strict.dtd"/> > > And it outputs the DOCTYPE properly in its output: > > <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Strict//EN" > "http://www.w3.org/TR/html4/strict.dtd"> > > The important thing, however, is this is the last stylesheet in the pipeline. > That may be what your problem is. Other than that, it should work. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]