By default the Adminimizer Toolbar generates XHTML compliant
code, with two exceptions.
- The tags you need to place at the top of your page (The
<script id="AdminimizerToolbar"> and <xml> tags) are
not valid XHTML. These tags haven't changed the layout of pages in
any browser we have seen, but if you are really set on having a
XHTML compliant page then you can do this workaround:
If you want your entire page to be valid XHTML then you should
put some server side code around these tags so they are only shown
to people who want to edit the page. For example in ASP you could
use this code:
<% If Session("LoggedIn") = "True" Then
%>
<script
id="AdminimizerScripts"></script>
<xml id="AdminimizerToolbar"
src="blogSettings.xml"></xml>
<%End If%>
And on another page (for example a login page) you should
place this line of code:
<%Session("LoggedIn") = "True"%>
In this way the non-XHML compliant code will only be shown
to folks who are logged in.
- By default Adminimizer outputs the Numeric HTML entity for
characters in the 128-159 range. This is not allowed in XHTML, but
it is supported by more browsers than the "right" way of doing it
(using the named HTML Entities). If you would rather use the
named entities then switch the value of the "NumericEntities"
node in your XML settings file to "False"