Hi RogerI love your choices of topics and you unstoppable, determinedeffort to get to the bottom of things regarding XML.I would posit that XML is a system for making 'affordances'.Affordances can take many forms, many of which relate touses of symbols facilitated by the writing system and, morerecently in history, the printing system. So I would posit thatXML, like its predecessors writing and printing, is a systemfor creating affordances.By 'affordances' we mean devices we humans love to use toget something done like opening a door or celebrating awedding. For the former a typical affordance is a door knobor door handle. We know what one is for just by looking atit, and with minimal learning, perhaps from observing others.For the latter we have, for example, the affordance of awedding card. A most basic affordance is an extended handwith the intention it be followed by a hand shake and perhapsfriendship or agreement of some mutually understood kind.In all cases the affordance has the concept of mutuallyshared understanding and at a fairly simple level so as tohave potential for wider adoption than the immediate users.With a wedding card, in the UK it is a card folded in two withthe opening on the right and a greeting usually printed andgeneric on the front and space inside for individual hand-writtengreetings and / or names. It is easy to understand whereto add your name and might be passed around for other names.Etcetera.I posit that XML is similar to the system of artefacts andconventions which allows the production of a greetings card:Similar, or even more so, parallel to the writing and printingsystems, by design, I think, so that it allows the replacementof written and printed affordances, and, moreover, it allowsthe capturing of most or all essential features of a writtenand / or printed affordance.How this relates to your idea is that I think an affordancedoesn't really linearise a human thought so much as theaffordance is transferred into the human mind as a set ofmechanisms which the human can combine with theirthoughts in such a way that they can be transferred to theaffordance within some set of tolerances shared by others.Then the affordance can facilitate its intended outcomewithin a similar set of tolerances; and all this with the hopeof the proper outcome being achieved due to the commonunderstanding of general thought processes.Affordances share qualities such as significance (theyhave a feature which signifies their purpose clearly), somefollow-on action, and facilitation of the purpose theysignifiy. XML markup has the potential for each of these.It has semantics which signifies its purpose, usuallyembodied in its syntax, the existence of its instancesusually has a clear follow-on action or set of actions tobe performed and in these actions it usually facilitatesthe final outcome which is its purpose.----Stephen D GreenOn 1 July 2014 10:38, Costello, Roger L. <costello@mitre.org> wrote:Hi Folks,
Inside our brain information is in parse trees:
The parse trees are structured according to a grammar, such as the English grammar.
When I want to communicate information to you I linearize the parse tree and transmit the linearization (i.e., the sentence) to you. You receive the sentence and immediately reconstruct the parse tree and apply semantics to the parse tree:
So information is exchanged by linearizing a parse tree, transmitting the sentence, and at the receiving end reconstructing the parse tree.
This is true for humans as well as for web services: A web service has information in a DOM (parse) tree, it linearizes (serializes) the DOM tree into an XML string, transmits the XML string, and the receiving web service reconstructs the parse tree and then applies semantics to it:
Neat!
/Roger