Click here to Skip to main content
15,897,371 members
Articles / Web Development / ASP.NET
Article

Learning WordML Basics

Rate me:
Please Sign up or sign in to vote.
2.29/5 (7 votes)
18 Jul 2006 17K   14  
Introduction to WordML

 

Introduction

Learning WORDML - Part 1
 
What is WordML?
 
MS-Word 2003 has a facility to store the word documents in the XML Formats.
 
Sample image
 
A sample XML with just a single line message
 
_________________________________________________________________
<?xml version="1.0"?>
<w:wordDocument
   xmlns:w="http://schemas.microsoft.com/office/word/2003/wordml">
 
<w:body>
      <w:p>
         <w:r>
            <w:t>Have a Great Day Ahead</w:t>
      </w:r>
   </w:p>
</w:body>
 
</w:wordDocument>
________________________________________________________________
 
The first line is to mention the XML Version
 
WordDocument xmlns:w - Defines the Schema for the XML
 
<w:body> - Body of the Word Document
 
<w:p> - Paragraph 
 
<w:r > - Run
 
<w:t> - Text
 
Text,Run and Paragraph are the three basic elements of the WordML Document.
 
When you open the same XML in Word it looks like this.
 
Sample image
 
This is just to give an idea on WordML. In the coming days would explain and deal with exciting features of WORDML
 
 
Thanks & Regards
Umanath Selvan
 
 

 

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
India India
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions

 
-- There are no messages in this forum --