Betsy Rolland
LIS 600 Independent Study
Transforming XML to Microsoft XML
Terry Brooks
Winter 2006
<?xml version="1.0" encoding="UTF-8"?> Regular XML header
<?mso-application progid="Word.Document"?> Associates the XML document with Microsoft Word
<w:wordDocument Defining the Word Document
xmlns:w="http://schemas.microsoft.com/office/word/2003/wordml" Maps to the "w" prefix. This namespace contains all core WordProcessingML elements and attributes.
xml:space="preserve"> Preserves whitespace in the document.
<w: body>
</w: body>
The quick brown fox jumped over the lazy dog. bold bold and italics bold Each text element is contained within the following structure:
<w: p> "paragraph"
<w: r> "run"</w: p><w: t>Hello, World!</w: t> "text"</w: r>