אנחנו מדברים כמעט על אותו הדבר ../images/Emo13.gif
אחד מעקרונות הברזל של XML הוא ניתוק תוכן מתצוגה. Spreadsheet משמעו גיליון אלקטרוני וזהו מונח לוגי שמשמעו גיליון עבודה. תוכנות רבות מכירות (ומיישמות) זאת, לרבות אקסל. לגופו של עניין ולפיכך, אין תבנית כזו של XSL שנקראת Spreadsheet, שרק האקסל מכיר אותה. התוצאה של אותו תוסף נראית כך -
<?xml version="1.0" encoding="UTF-16"?> <Workbook xmlns:xsd="http://www.w3.org/2000/10/XMLSchema" xmlns

d="urn:schemas-microsoft-com

fficedata" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:ss="urn:schemas-microsoft-com

ffice:spreadsheet" xmlns="urn:schemas-microsoft-com

ffice:spreadsheet"> <Styles> <Style ss:ID="Header"> <Font ss:Bold="1" /> </Style> <Style ss:ID="Default" /> <Style ss:ID="DateTime"> <NumberFormat ss:Format="General Date" /> </Style> <Style ss:ID="Time"> <NumberFormat ss:Format="Long Time" /> </Style> <Style ss:ID="Currency"> <NumberFormat ss:Format="Currency" /> </Style> <Style ss:ID="Hyperlink"> <Font ss:Color="#0000FF" ss:Underline="Single" /> </Style> </Styles><Worksheet ss:Name="Employees1"> <Table> <Column ss:StyleID="Default" /> <Column ss:StyleID="Default" /> <Column ss:StyleID="Default" /> <Column ss:StyleID="DateTime" /> <Column ss:StyleID="DateTime" /> <Row ss:StyleID="Header"> <Cell> <Data ss:Type="String">LastName</Data> </Cell> <Cell> <Data ss:Type="String">FirstName</Data> </Cell> <Cell> <Data ss:Type="String">Title</Data> </Cell> <Cell> <Data ss:Type="String">BirthDate</Data> </Cell> <Cell> <Data ss:Type="String">HireDate</Data> </Cell> </Row><Row> <Cell> <Data ss:Type="String">Davolio</Data> </Cell> <Cell> <Data ss:Type="String">Nancy</Data> </Cell> <Cell> <Data ss:Type="String">Sales Representative</Data> </Cell> <Cell> <Data ss:Type="DateTime">1968-12-08T00:00:00</Data> </Cell> <Cell> <Data ss:Type="DateTime">1992-05-01T00:00:00</Data> </Cell> </Row> ... </Table> </Worksheet> </Workbook>
וזהו כמובן, מסמך XML כשר למהדרין, אשר ניתן לעיבוד בכל יישום תומך XML. ניתן גם לראות שאין כל קשר לתצוגה... איך אנחנו עכשיו ?