XML Schema Creation

R

robo

Hello,

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.

Any help would be greatly appreciated.

Regards
Rob
 
C

Cindy M.

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 :)
 
R

robo

I understand why WORD has XML but I'm confused with getting the schema. I
searched MSDN with no luck. I guess I'm missing something.

Sorry.
 
C

Cindy M.

Hi =?Utf-8?B?cm9ib0Bnb2JsdWVtYWlsLmNvbQ==?=,
I understand why WORD has XML but I'm confused with getting the schema. I
searched MSDN with no luck. I guess I'm missing something.
Start here for the full information about XML in Word.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wordxmlcdk/h
tml/cdkIntroDefaultPage_HV01113687.asp

The Schema is part of a download mentioned on this page.

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 :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top