W3C home > Mailing lists > Public > xproc-dev@w3.org > June 2009

Re: What is the mental model of XProc?

From: Norman Walsh <ndw@nwalsh.com>
Date: Mon, 15 Jun 2009 10:55:58 -0400
To: XProc Dev <xproc-dev@w3.org>
Message-ID: <m2vdmxbl6p.fsf@nwalsh.com>
"Costello, Roger L." <costello@mitre.org> writes:

>> I don't see a contradiction between
>> 
>>    "streams of XML flowing through steps"
>> and
>>   "dividing problems into bite-sized chunks"
>
> What I meant is: 
>
>     XProc is not about creating subroutines 
>     that are invoked with arguments. 
>
> This weekend I caught myself falling back into old programming
> habits of creating subroutines. I was trying to do FORTRAN in XProc.

I don't think there's anything wrong with writing subroutines. The trick,
I think, is to think in terms of "subroutines" that primarily operate
on XML documents.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | You cannot make a man by standing a
http://nwalsh.com/            | sheep on its hind legs. But by standing
                              | a flock of sheep in that position you
                              | can make a crowd of men.--Max Beerbohm

Received on Monday, 15 June 2009 14:56:48 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 15 June 2009 14:56:49 GMT