
Код AS3:
var xml:XML = <Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet">
<o:OfficeDocumentSettings xmlns="urn:schemas-microsoft-com:office:office"/>
<x:ExcelWorkbook xmlns="urn:schemas-microsoft-com:office:excel"/>
<Worksheet Name="goods">
<Table>
<Row>
<Cell>
<Data Type="String">name</Data>
</Cell>
<Cell>
<Data Type="String">name</Data>
</Cell>
</Row>
</Table>
</Worksheet>
</Workbook>;
var ns:Namespace = xml.namespace();
trace(xml..ns::Data.toXMLString());