|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XML -- information architect, JSON -- program objects,HTML
Hi Peter, Thanks for your comments. I am doing
exactly what you are saying and I will read the annotated recommendation
as suggested by Michael Kay. However, can I assume that your point is
simply that if I ignore all the tools etc that I have as a programmer to
work with XML, then as a text document, that can be read by anyone, it
still (potentially) has value?If so, I have no argument with that at all, that: "it is this very decoupling of XML from the way it is represented
internally by the systems that handle it that makes XML so flexible." But
my *personal* interest (and the reference to 'Nodists' was an attempt
at humour, possibly a lead-balloon?) is the tools that surround XML,
which in the cases of XSLT and XForms that I've mainly worked with are
based on XPath, are essentially declarative and allow you to work with
XML as a hierarchical data-structure. As you write an XSLT stylesheet or
XForms form you aren't thinking of DOMs and Infosets, you are thinking
of a tree abstraction, of its structure and node names. If my assumption is correct, here is an attempt to
reconcile the two points of view: if you think of an human reading an
XML document and a computer parsing it what is the difference? Both
essentially are turning a stream of characters into something of value.
In the case of the human the interpretation of the stream is a mental
process, entirely dependant on the capabilities of the mind of the
human, which includes the ability to understand what words and sentences
are at the most basic level (structure and meaning), and at a higher
level some grasp of both the function of markup and the specific markup
encountered(meaning). In the case of a computing machine it is a process
mediated by a program (created by the mind of a human), that to me
seems essentially the same as the human (but not nearly as capable of
grasping meaning I admit), the character stream must be turned into a
structure and then interpreted for meaning. The meaning that given is
what I as a programmer have instructed the parser to give it by writing a
program, that program enhances the parser essentially (its a
data-driven programming style). Now I agree if I have parsed XML documents in an XML
database I no longer have it in a text form, the parsing has been done
and its been turned into an internal representation with persisted
structure, but aren't I then just working with it at the second stage of
trying to extract meaning (information) from data? SteveOn Wed, Nov 20, 2013 at 3:42 AM, Peter Hunsberger <peter.hunsberger@gmail.com> wrote:
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] |
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








