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

Re: computed ports and viewports

From: Alex Milowski <alex@milowski.org>
Date: Fri, 9 Mar 2007 12:38:31 -0800
Message-ID: <28d56ece0703091238s4f628627pc01914fb37330507@mail.gmail.com>
To: public-xml-processing-model-wg@w3.org
On 3/9/07, Norman Walsh <Norman.Walsh@sun.com> wrote:
>
> / Alex Milowski <alex@milowski.org> was heard to say:
> | Are we going to allow:
> |
> | <p:viewport name="v" match="/doc/section">
> | <p:viewport-source>
> |   <p:pipe step="other" port="result" select="/section/section"/>
> | </p:viewport-source>
> | ...
> | </p:viewport>
> |
> | ?
> |
> | It seems like this is OK.
>
> No. There's no select attribute on p:pipe, it just bolts an output to
> an input. And viewport-source doesn't have a select attribute either.



Ah... That's right.  I've gotten things turned around.


The input to a viewport is exactly one document.



Yes.

...but can the output be more than one document?

I've often used a viewport to replace one element with several.


-- 
--Alex Milowski
"The excellence of grammar as a guide is proportional to the paucity of the
inflexions, i.e. to the degree of analysis effected by the language
considered."

Bertrand Russell in a footnote of Principles of Mathematics
Received on Friday, 9 March 2007 20:38:39 GMT

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