Hi =?Utf-8?B?cm9ib0Bnb2JsdWVtYWlsLmNvbQ==?=,
I'm new to XML but I understand the concept.
My question is how can I create a Schema for an existing document.
Everything I read tells me how to Select a Schema and use it but nothing else.
I'm guessing you can't use this until you have a schema which leads me to my
original question.
The schema for all Word documents is defined by Microsoft and available from the
msdn site for download.
The schema functionality in Word is there primarily so that you can link YOUR
XML with the Word document. It mainly serves two purposes:
1. Data entered into XML tags mapping to your schema can be extracted directly
from the document (saved as XML). Alternatively, Word can saved ONLY your XML
data, and even transform it to another form on saving.
2. The ISmartDocument interface builds on this. A SmartDocument is a solution
that displays XML-element context sensitive information in a "actions pane"
(task pane). This pane also supports ActiveX controls, providing context
sensitive interaction and input possibilities. This functionality is described
in detail on msdn.
Schemas+XML in Word really serve no other purpose in Word 2003.
Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org
This reply is posted in the Newsgroup; please post any follow question or reply
in the newsgroup and not by e-mail