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:18:05 -0400
To: public-xml-processing-model-wg@w3.org
Message-ID: <87irls4axu.fsf@nwalsh.com>
/ Alex Milowski <alex@milowski.org> was heard to say:
| Norman Walsh wrote:
|>
|> An input looks like this:
|>
|>   input := ($name, $label, $href?, {any content})
|>
|> The name/label pair form the external/internal binding for the stream.
|> If the API doesn't define the input, then it can be read from a URI or
|> taken directly from content.
|
| I really dislike the use of both "name" and "label".  They mean the same
| thing to me.
|
| If 'label' is a reference, can we use a name that suggests that (e.g.
| 'ref')?

I took this from someone's mail message, if not yours then perhaps
Alessandro's. I understood the idea to be that name is the external
name (what the user might type on the command line) and label was
the way that some subsequent step could refer to it.

  <p:input name="stylesheet" label="userstyle"/>
  ...
  <p:step kind="...">
    <p:with-input from="userstyle"/>

$ xproc pipe.xml stylesheet=/path/to/docbook.xsl

I suppose we could ditch the name attribute and simply use the label
in both places.

                                        Be seeing you,
                                          norm

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

Received on Thursday, 20 July 2006 14:18:37 GMT

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