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"/>

The HTML produced then contains;

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

Which is great but I�d ideally like the below to be added at the top of the
doc as well;

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd";>

Expect I�m doing something stupid. I�ve added the above with a CDATA tag but
I get all sorts of odd XML parsing errors, e.g. Metatags not being closed,
which strictly speaking could be considered as errors but I�m guessing that
the incorrect addition of the tag is more likely the cause.


Thanks in advance,
Mark.

Reply via email to