Primary output port in p:viewport

Section 4.3 (p:viewport) says: "The p:viewport must contain a single,
primary output port explicit declared explicitly or supplied by default"

Does this mean that if I want to provide an explicit output port in
p:viewport I always have to do:

<p:viewport match="...">
  <p:output port="foo" primary="true"/>
  ...
</p:viewport>

Or would the following also work (because the output port is the only
port and would therefore become primary automatically, similar to what
happens in p:declare-step):

<p:viewport match="...">
  <p:output port="foo"/>
  ...
</p:viewport>

Regards,
Vojtech

Received on Wednesday, 22 July 2009 12:46:35 UTC