Re: computed ports and viewports

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 UTC