| Mary McRae 2004-05-21, 7:31 pm |
| Hi David,
>As I understand it a schema completely ties down whether an XML instance is
>valid or not. However I know that it is possible to extend an Office 2003
>word document with my own XML. What I don't understand is how this can be!
Yes, it's through the use of namespaces that Word 2003 mixes WordML with
your schema-specific markup.
>Is there some way of writing a schema which enables me to define where
>within an Office 2003 word document it's valid for elements from my
>namespace to appear?
No; you can't modify the WordML schema. However once you establish the
location of your root element, you can control element placement through
your schema.
I suggest you download the WordML schema and documentation, the XML Toolbox,
and the Smart Document SDK.
http://msdn.microsoft.com/office
--
Mary McRae
blogs: http://blogs.officezealot.com/mary
web: http://www.office-xml.com
|