🌐
Microsoft Support
support.microsoft.com › en-us › office › overview-of-xml-in-excel-f11faa7e-63ae-4166-b3ac-c9e9752a7d80
Overview of XML in Excel - Microsoft Support
Excel works primarily with two types of XML files: XML data files (.xml), which contain the custom tags and structured data. Schema files (.xsd), which contain schema tags that enforce rules, such as data type and validation. The XML standard also defines Extensible Stylesheet Language Transformation (XSLT) (.xslt) files, which are used to apply styles and transform XML data into different presentation formats.
file format family introduced at Microsoft Office XP and Microsoft Office 2003
The Microsoft Office XML formats are XML-based document formats (or XML schemas) introduced in versions of Microsoft Office prior to Office 2007. Microsoft Office XP introduced a new XML format for storing … Wikipedia
Factsheet
WordProcessingML
Filename extension .XML (XML document)
Developed by Microsoft
Factsheet
WordProcessingML
Filename extension .XML (XML document)
Developed by Microsoft
🌐
Wikipedia
en.wikipedia.org › wiki › Microsoft_Office_XML_formats
Microsoft Office XML formats - Wikipedia
May 15, 2025 - <?xml version="1.0" encoding="UTF-8"?> <?mso-application progid="Excel.Sheet"?> <Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:html="https://www.w3.org/TR/html401/"> <Worksheet ss:Name="CognaLearn+Intedashboard"> <Table> <Column ss:Index="1" ss:AutoFitWidth="0" ss:Width="110"/> <Row> <Cell><Data ss:Type="String">ID</Data></Cell> <Cell><Data ss:Type="String">Project</Data></Cell> <Cell><Data ss:Type="String">Reporter</Data></Cell> <Cell><Data ss:Type="String">Assigned T
Top answer
1 of 1
7

The XML you are trying to use is Office 2003 SpreadsheetML. The reference is XML Spreadsheet Reference.

If you look at the "XML Spreadsheet Tag Hierarchy", you will see, that the namespace ss is always prefixed there. So it is not the default namespace. The default namespace is html. So the Font, B, Sup tags are not prefixed by namespace.

But in current Excel versions, if saved as Office 2003 SpreadsheetML, the default namespace is set to xmlns="urn:schemas-microsoft-com:office:spreadsheet" which is ss. So if one wants using html tags, they must be prefixed by html.

Example:

<?xml version="1.0"?>
<?mso-application progid="Excel.Sheet"?>
<Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet"
 xmlns:o="urn:schemas-microsoft-com:office:office"
 xmlns:x="urn:schemas-microsoft-com:office:excel"
 xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet"
 xmlns:html="http://www.w3.org/TR/REC-html40">

 <Worksheet ss:Name="Tabelle1">
  <Table>
   <Row>
    <Cell><Data ss:Type="String"><html:Font x:Color="#FF0000">Test</html:Font></Data></Cell>
    <Cell><Data ss:Type="String"><html:B>E = m c <html:Sup>2</html:Sup></html:B></Data></Cell>
   </Row>
  </Table>
 </Worksheet>

</Workbook>

Another option would be changing the default namespace to xmlns="http://www.w3.org/TR/REC-html40" which is html. Then the html tags needs not be prefixed by html but then the ss tags must.

Example:

<?xml version="1.0"?>
<?mso-application progid="Excel.Sheet"?>
<ss:Workbook xmlns="http://www.w3.org/TR/REC-html40"
 xmlns:o="urn:schemas-microsoft-com:office:office"
 xmlns:x="urn:schemas-microsoft-com:office:excel"
 xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet"
 xmlns:html="http://www.w3.org/TR/REC-html40">

 <ss:Worksheet ss:Name="Tabelle1">
  <ss:Table>
   <ss:Row>
    <ss:Cell><ss:Data ss:Type="String"><Font x:Color="#FF0000">Test</Font></Data></Cell>
    <ss:Cell><ss:Data ss:Type="String"><B>E = m c <Sup>2</Sup></B></Data></Cell>
   </ss:Row>
  </ss:Table>
 </ss:Worksheet>

</ss:Workbook>
🌐
Jkp-ads
jkp-ads.com › articles › excel2007fileformat00.aspx
The Excel XML File Format Explained, Worksheet Data
Done!! Here is what the sheet looks like when opened in Excel: ... Adding a number to a cell works similar to adding text, but with two differences: The numbers are kept in the Sheet?.xml itself (no reference to sharedStrings.xml) and you can add a number format.
🌐
Microsoft Support
support.microsoft.com › en-us › office › export-xml-data-0b21f51b-56d6-48f0-83d9-a89637cd4360
Export XML data - Microsoft Support
This step ensures that any changes ... as an XML data file. Click File > Save As, and select the location where you want to save the file. In Excel 2007 only, click the Microsoft Office Button · , point to the arrow next to Save As, and then click Other Formats....
🌐
Excel Easy
excel-easy.com › examples › xml.html
Convert XML to Excel - Step by Step Tutorial
<?xml version="1.0" encoding="UTF-8" ... to the column names, but you can give them any name you want! For example, instead of LastName use Name....
🌐
Spreadsheeto
spreadsheeto.com › home › blog › how to convert excel to xml – step-by-step tutorial
How to Convert Excel to XML - Step-by-Step Tutorial
October 10, 2022 - XML format uses the DOM or Document Object Model as its basic structure and can help separate text in HTML. For instance, XML data for a company employee might be: The tags ‘Name, ID No., Post, Salary, and Status’ consist of the document’s data. You can customize the tags as we did here for an employee’s data. To convert Excel to XML, you need to create an XLS file containing all the data. I have created an example below that lists the members of a company and their details.
Find elsewhere
🌐
Microsoft Support
support.microsoft.com › en-us › office › map-xml-elements-to-cells-in-an-xml-map-ddb23edf-f5c5-4fbf-b736-b3bf977a0c53
Map XML elements to cells in an XML Map - Microsoft Support
In the Export - XML File dialog box, specify the file name and format, and click OK. Exit Access. ... Create an XML Map based on the XML schema file you exported from Access. If the Multiple Roots dialog box appears, make sure you choose dataroot so you can create an XML table. Create an XML table by mapping the dataroot element. See Map XML elements for more information. Import the XML file you exported from Access. ... There are several types of XML schema element constructs Excel doesn't support.
🌐
Udemy
blog.udemy.com › home › how to convert data in excel to xml in 7 easy steps
How To Convert Data in Excel to XML in 7 Steps - Udemy Blog
October 24, 2025 - Below is an example spreadsheet with six columns and seven rows of data. The columns separate the last names, first names, ages, majors (subject), GPAs (Grade Point Average), and school year of each student listed in the spreadsheet.
🌐
Microsoft Support
support.microsoft.com › en-us › office › import-xml-data-6eca3906-d6c9-4f0d-b911-c736da817fa4
Import XML data - Microsoft Support
If the XML data file doesn't refer to a schema, then Excel infers the schema from the XML data file. To control the behavior of XML data (such as data binding, format, and layout), click Properties, which displays the XML Map properties dialog box. For example, existing data in a mapped range ...
🌐
Washington Department of Financial Institutions
dfi.wa.gov › sites › default › files › convert-excel-xml-file.pdf pdf
1 | P a g e Converting Excel file to XML file
Before we start preparing the excel ... and Excel templates · to your computer where you can easily access them. XSD Schemas are required for mapping and converting ... Steps below will walk you through the process. 1. Here, we’re creating an AAR Make Real Estate XML ...
🌐
Microsoft Support
support.microsoft.com › en-us › office › open-xml-formats-and-file-name-extensions-5200d93c-3449-4380-8e11-31ef14555b18
Open XML Formats and file name extensions - Microsoft Support
Excel for Microsoft 365 Word for Microsoft 365 PowerPoint for Microsoft 365 Excel 2024 PowerPoint 2024 Office 2024 Excel 2021 Word 2021 PowerPoint 2021 Office 2021 Excel 2019 Word 2019 PowerPoint 2019 Office 2019 Excel 2016 Word 2016 PowerPoint 2016 Office 2016 Microsoft365.com Microsoft Office · Microsoft Office uses the XML-based file formats, such as .docx, .xlsx, and .pptx.
🌐
Scott Manning
scottmanning.com › content › quick-xml-formatting-with-microsoft-excel
Quick XML Formatting with Microsoft Excel
April 22, 2018 - I want to take this list and put it in the following XML format: <fortune100> <company> <name></name> <location></location> </company> </fortune100> In two empty columns, I’m going to put the opening and closing tags for the names of the companies.
🌐
The Data School
thedataschool.com.au › home › excel spreadsheets are just xml files: how parsing them saved me hours
Excel Spreadsheets Are Just XML Files: How Parsing Them Saved Me Hours - The Data School Down Under
May 3, 2023 - Basically everything you can see when you use excel should be in those XML files somewhere. The screenshot above is from the sheet.xml file with the name “hiddenDataSheet” and if you look in the workbook.xml file you will see that it’s state is “veryHidden”, which is true because you can’t see its contents any other way. Let’s look at this really helpful pile of non-sense: If you take that text string and URL-decode it; after some re-formatting you will end up with something similar to what you see below:
🌐
MrExcel
mrexcel.com › excel-tips › using-xml-in-excel
Using XML In Excel - Excel Tips - MrExcel Publishing
December 10, 2002 - From Excel, open test.xml again. This time, indicate that you want to use the XML Source task pane and then click OK to the Schema information box. ... You now get a blank worksheet, but the XML Source pane on the right lists all of the available fields. ... Choose the Options dropdown and select Preview data to see a sample of each element in the task pane. ... Add a nicely formatted title to your blank spreadsheet.
🌐
Stack Overflow
stackoverflow.com › questions › 10142068 › creating-excel-formatted-xml
Creating Excel-formatted XML - Stack Overflow
If so, why not just output an Excel file instead? ... The XML may be imported into Excel, or finally a Word document. The document has to be created and edited before the XML data is gathered, so the XML data can't be output into a new Excel/Word document directly.
🌐
Microsoft Community
techcommunity.microsoft.com › microsoft community hub › communities › products › microsoft 365 › excel
Excel to XML | Microsoft Community Hub
Save the XML file. You can find more detailed instructions on how to convert Excel to XML in this Udemy Blog article.