From: Guilherme on
Is word 2007 able to create schema file / *.xsd files?

I have the source code for a schema, I pasted in Word and when i tried to
save as xml file i got and error message saying that there is a problem with
my file and either I continue to save and the file will not be readable after
that or i have to choose to save in wordML. Besides that, there is no XML
editing features in word...or are there?

Guilherme
From: Peter Jamieson on
Word does not have any out-of-the-box facility to /create/ a schema
file. What it does have is some facilities that let you
a. import a schema (and it has to be a .xsd) into a schema library
b. specify areas in a document that, taken as a whole, must conform to
that schema
c. save the data in the document in an XML format that will conform to
that schema, or save the document in WordML format with embedded
"islands" that are markup up with your schema's tags. To save in "XML"
format from Word 2007, you have to save using Word 2003 .xml format:
Word 2007 .xml format is a WOrdML format
d. There may be people out there who can reliably write .xslt
transforms that can transform Word 2003 WordProcessingML into "pure"
XML, or Word 2007 WordML into "pure" .xml. caveat emptor!

Personally, I do not think Word is a good XML editor, but if it is the
only XML editor that you can guarantee is available to your users,
a. perhaps it is better than nothing
b. I would try even harder than ever to keep everything really simple.

Peter Jamieson

http://tips.pjmsn.me.uk

On 18/12/2009 15:34, Guilherme wrote:
> Is word 2007 able to create schema file / *.xsd files?
>
> I have the source code for a schema, I pasted in Word and when i tried to
> save as xml file i got and error message saying that there is a problem with
> my file and either I continue to save and the file will not be readable after
> that or i have to choose to save in wordML. Besides that, there is no XML
> editing features in word...or are there?
>
> Guilherme