Chris Eidhof
Posts: 53
Nickname: chriseidho
Registered: Nov, 2005
|
|
Re: What is XML?
|
Posted: Nov 22, 2005 2:37 PM
|
|
XML is just a format to store data in. In most of the documents, the semantics are not defined in the document itself. That means that for every document the application which is about to process it has to know the semantics of the document.
A computer cannot reason about XML-documents without knowing what it means. And, because there's no explicit meaning in most of the documents, there has to be an interpreter for every type of document: XHTML, SVG, etc.
One of the layers on top of XML, RDF, provides a framework for describing data in an organized way. You can describe objects, properties, subproperties, etc. You can link between objects. Also, with an ontology-language like OWL you can define the meaning of certain relationships and you can place restrictions on, for example, properties.
We're talking about the topic of semantics now, and this is widely studied in, for example, AI. If your domain gets more complex, your semantics will be come really complex too. It's just a very difficult problem, and the W3C's approach with RDF and OWL solves a part of the problem, but doesn't try to be complete.
You should really read: http://www.w3.org/2001/sw/.
|
|