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

Re: Alternative to x!y (proposal)

From: Richard Tobin <richard@inf.ed.ac.uk>
Date: Fri, 25 Aug 2006 15:58:21 +0100 (BST)
To: Norman Walsh <Norman.Walsh@Sun.COM>, public-xml-processing-model-wg@w3.org
Message-Id: <20060825145821.10FF871E0CE@macintosh.inf.ed.ac.uk>

> It sounds to me like consensus is moving towards using two attributes.
> I propose @step and @source:
> 
>   <p:input port="document" step="prevstep" source="result"/>
> 
> Or maybe 'fromstep' would be better.

I would go for "from-step" and "from-port".

> Anyway, I'm assuming that the
> step attribute, whatever it's called, will eventually be defaulted
> away in most cases.

I found the two-attribute form to be annoyingly verbose, but it does
have the advantage that either or both of the attributes could be
defaulted (the default step would be the lexically preceding one,
and the default port the "primary output" port of the step).

-- Richard
Received on Friday, 25 August 2006 14:58:32 GMT

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