• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 9. XML and Office > XML and Word 2003

XML and Word 2003

WordML

Word is typically used for working with unstructured data. That is, the structure of documents is not generally as rigid as the grid of columns and rows in a database table or a spreadsheet. Paragraphs have different lengths. Text may be presented as sentences, bullet points, numbered lists, or block quotes. There may or may not be tables. If there are tables, they may not necessarily be uniform. In a nutshell, a Word document is not expected to have a strict structure. On the other hand, a Word document contains quite a bit of formatting, even if it's just using built-in defaults.

This presents a dilemma when we attempt to save a Word document as an XML file. Although it is possible to save just the document's text wrapped in XML tags representing each paragraph, quite a bit of the document's presentation would be lost.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint