You may have noticed some HTML in the preceding code samples. Because CSS cannot handle some functions, the XML+CSS Standard Edition template uses HTML namespaces-the browser renders code with HTML namespaces as if it were HTML. HTML namespaces consist of a prefix (html
), a colon (:
), and then the HTML tag name. The use of namespaces is one of the big differences between using the XML+CSS Standard Edition and XML+XSL Standard Edition templates.
For example, named anchors do not mean anything in the context of traditional XML. The XML+CSS Standard Edition template can't use XSL to define anchors, so the XML+CSS Standard Edition template embeds tags that use HTML namespaces:
<html:a name="XXXXXX"> </html:a> <html:a ref="mylink.htm#XXXXXX">My Link</html:a> <html:img src="mygraphic.gif"/> <html:table> ... </html:table>