[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: Mukul Gandhi <gandhi.mukul@gmail.com>
  • To: Liam Quin <liam@w3.org>
  • Date: Sun, 22 Nov 2009 16:45:37 +0530

Re:  An inquiry into the nature of XML and how it orientsour pe
Thanks, Liam.

On Sun, Nov 22, 2009 at 12:57 PM, Liam Quin <liam@w3.org> wrote:
> If I write an XSLT stylesheet that takes an XSLT "program" as
> input and makes an SVG visualisation of the calll graph,
> the input XSLT stylesheet is treated as data.

I agree. In this case, the input stylesheet was data (for the
stylesheet, which processed this input). I think, this could be true
for any programming language (or most of them). Say a Java program can
take as input another, Java program and produces something else (say,
a C/C++ output or whatever). As per your analogy, the input Java
program was a data in this case (and that's true :)).

What is wished to express was, that XSLT stylesheet is commonly
considered an executable entity (like, say a Java program for
example). XSLT is designed to be like that :) It's not a data
expression language (and incidentally, it uses an XML vocabulary, in
the XML namespace http://www.w3.org/1999/XSL/Transform).

> Program and data are not mutually exclusive.

Sorry for disagreeing, probably (not entirely, though). Theoretically
speaking, I might consider program and data as mutually exclusive. I
consider, programs as a set of instructions, which operate on some
input (which I think, as data), and then the program produces some
output (which could be data, or something else, say rendering a GUI).



-- 
Regards,
Mukul Gandhi


[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!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
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.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2011 All Rights Reserved.