[XML-DEV Mailing List Archive Home]
[By Thread]
[By Date]
[Recent Entries]
[Reply To This Message]
Re: An inquiry into the nature of XML and how it orientsour pe
- From: COUTHURES Alain <alain.couthures@agencexml.com>
- To: Mukul Gandhi <gandhi.mukul@gmail.com>
- Date: Sun, 22 Nov 2009 08:29:32 +0100
Mukul Gandhi a écrit :
7870f82e0911212252y80c1378u6485461f04173fd4@mail.gmail.com"
type="cite">
Yes, one mans data, is another persons metadata , is another persons
programming language...
I would not completely disagree to this. But contradicting a bit to
this, I'll never consider a XSLT program as data (an XSLT markup would
always be, a representation of executable program for me, conceptually
like say a java or C program).
It's sometimes very useful to consider programs as data. For example,
the make utility treats programs to be compiled and linked: it's a sort
of "meta-program" with programs as data. Having an XML notation for
programming language allows to process them as any XML data. What is a
program or what is data is just a point of view: when a system receives
a purchase order, it receives purchase data and the order to process
it; in a sense, the purchase order is written in a very specific
programming language that the server can understand. It's the same for
an HTML page: <h1> can be interpreted as the data for header at
level 1 or as an instruction to write a header at level 1.
Java or C languages don't benefit of an XML notation but it's mainly an
human constraint: it's easier for developers to write instructions this
way. Smart editors could interpret instructions to write them
internally in XML while still render them as they are now. Analyze and
generate instructions can then be very powerful.
If you look at instructions generated by yacc, you will find that C
arrays of data are actually generated and that there is an engine to
interpreted them. Is Java P-Code data or instructions ??? XML didn't
create this but with XML is more and more obvious.
It's in developers culture to distinguish between data and instructions
since assembling languages and it's easy to accept but it is not true
for computers.
Best regards,
Alain Couthures
<agenceXML>
http://www.agencexml.com
Bordeaux, France
|
[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
RSS 2.0 |
|
Atom 0.3 |
|
|
Stylus Studio has published XML-DEV in RSS and ATOM formats,
enabling users to easily subcribe to the list from their preferred news reader application.
|
Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website.
they were not included by the author in the initial post. To view the content without the Sponsor Links please
click here.
|
|