Re: Word 2003 XML
- From: Chris Ridd <chrisridd@xxxxxxx>
- Date: Tue, 20 Jun 2006 06:22:36 +0100
On 2006-06-20 01:41:58 +0100, "Peter Jamieson" <pjj@xxxxxxxxxxxxxxxxxxxxxxxxxx> said:
My very limited understanding of XML extensibility is that it is made clear to the parser/application which elements are foreign by declaring namespaces in the root element.
I would see it slightly differently.
[...]
It may also be worth pointing out that in the general case, a parser may not have much info. about the schemas associated with an XML document. The schemas, or rather the associated namespasces, may be named in the document (e.g. using attributes that define alias names), but the names are just names, primarily intended to ensure uniqueness in the event of name clashes (which is what namespaces are all about). Even where the names look like URLs they do not necessarily point to any additional information about the schema. For example, one of the first snippets in a WordProcessingML document defines an alias "w" as follows:
I did oversimplify somewhat, and your description does make sense. In the general case an application will have no knowledge of the semantics of anything from other namespaces, so is severely limited as to what it can do with them.
Thanks for the clarification!
Cheers,
Chris
.
- References:
- Word 2003 XML
- From: Steve Hodgson
- Re: Word 2003 XML
- From: Jim Gordon
- Re: Word 2003 XML
- From: Steve Hodgson
- Re: Word 2003 XML
- From: Jim Gordon
- Re: Word 2003 XML
- From: Chris Ridd
- Re: Word 2003 XML
- From: John McGhie [MVP - Word and Word Macintosh]
- Re: Word 2003 XML
- From: Chris Ridd
- Re: Word 2003 XML
- From: John McGhie [MVP - Word and Word Macintosh]
- Re: Word 2003 XML
- From: Chris Ridd
- Re: Word 2003 XML
- From: Peter Jamieson
- Word 2003 XML
- Prev by Date: Re: How to Convert a Postscript Document to a Word Document
- Next by Date: Re: Word 2003 XML
- Previous by thread: Re: Word 2003 XML
- Next by thread: Re: Word 2003 XML
- Index(es):
Relevant Pages
|
|