W3C home > Mailing lists > Public > public-xml-processing-model-wg@w3.org > July 2006

Re: Use Case 5.27: Integrate Computation Components (MathML)

From: Alessandro Vernet <avernet@orbeon.com>
Date: Wed, 12 Jul 2006 19:36:45 -0700
Message-ID: <4828ceec0607121936q7d8d935dg46d55fa651416472@mail.gmail.com>
To: public-xml-processing-model-wg <public-xml-processing-model-wg@w3.org>

Alex,

On 7/12/06, Alex Milowski <alex@milowski.org> wrote:
> I think it should look like:
>
> <p:step kind="p:xslt">
>     <p:input name="input" from="decomposition-computed"/>
>     <p:input name="stylesheet">in-line stylesheet</p:input>
>     <p:output from="output" name="gap-formulate-request"/>
> </p:step>

Alright, then we are on the same line.

(What follows is a discussion purely about the naming of attributes.
At a higher level, I like very much the direction we are going to with
your syntax.)

> That follows how I'm using the 'from' and 'name' attributes.

How is that? One could argue that it is better to use the 'name'
attribute to reference the name defined by components, both for
<p:input> and <p:output>. Hence, another attribute would be used to
define a "label" that can then be referenced in other places with the
"from" attribute. This would lead us to:

<p:step kind="p:xslt">
    <p:input name="input" from="decomposition-computed"/>
    <p:input name="stylesheet">in-line stylesheet</p:input>
    <p:output name="output" label="gap-formulate-request"/>
</p:step>

Alex
-- 
Blog (XML, Web apps, Open Source):
http://www.orbeon.com/blog/
Received on Thursday, 13 July 2006 02:36:59 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:21:48 GMT