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

Re: p:pipeline

From: Norman Walsh <Norman.Walsh@Sun.COM>
Date: Thu, 20 Jul 2006 10:59:10 -0400
To: public-xml-processing-model-wg@w3.org
Message-ID: <87y7uo1fwh.fsf@nwalsh.com>
/ Murray Maloney <murray@muzmo.com> was heard to say:
| At 10:18 AM 7/20/2006 -0400, you wrote:
|
|           I suppose we could ditch the name attribute and simply use the
|      label in both places.
|
| How about keeping NAME and ditching LABEL? A named element in
| HTML can be referenced and de-referenced. Everybody understands this.
| Why should we use a different name for NAME?

Well, consider the step case. In steps, we have components that have
named inputs and named outputs. We want to associate a label with each
of those. (Or at least, with each of those outputs.)

If you want to use 'name' where I've used label, that's fine, but then
what do you want to use for name of the attribute that holds the name
of the component output?

Consider the 'foo' component that has a single output stream called
'output':

  <p:step kind="foo">
    <p:with-output XXX="output" name="mylabel"/>
  <p:step>

  <p:step kind="foo">
    <p:with-output XXX="output" name="otherlabel"/>
  <p:step>


                                        Be seeing you,
                                          norm

-- 
Norman Walsh
XML Standards Architect
Sun Microsystems, Inc.

Received on Thursday, 20 July 2006 14:59:24 GMT

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