﻿<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/css" href="memo.css"?>
<memo>
<memohead>
<date>4/18/2008</date>
<from>Steve Conger</from>
<about>Css with XML</about>
</memohead>
<memobody>
<paragraph>XML elements can be displayed with <term>CSS Stylesheets</term> but CSS has significant limitations with xml. Some of these limits are:</paragraph>
<points>
<item>You cannot add text to the document or the display the element names</item>
<item>You cannot rearrange the display</item>
<item>You cannot display the content of attributes easily</item>
</points>
<paragraph>Perhaps one of the greatest weakenesses of using CSS is that it cannot handle namespaces. If a document has a namespace you will not be able to display it in CSS. <term>CSS3</term>--a standard which is still under discussion--includes the ability to define and recognize namespaces</paragraph>
<paragraph>
All things considered. It is much better to use <term> XSLT</term> in conjunction with CSS to display raw xml, rather than to use CSS alone.
</paragraph>

</memobody>
</memo>
