Foreach, Viewport and Choose and another way to default


It seems in those cases that we add an unneeded surrounder wrapper
because we don't care about the name

so what about

  name = QName
  select? = xpath expression>

<p:for-each name="chapters" select="//chapter">
  <p:document href=""/>
  <p:output port="html">
    <p:pipe step="xform-to-html port="result"/>

the same for viewport and for choose and when

== Defaulting ==
And it seems like, some more times the defaulting story could be about
the name of the in/output

In those case an option could be to allow

input|pipe|document instead of just input
output|pipe|document instead of just output

may it could seem bizarre, but it's a way when we don't need a wrapper
to keep the semantics and xml less verbose

Innovimax SARL
Consulting, Training & XML Development
9, impasse des Orteaux
75020 Paris
Tel : +33 8 72 475787
Fax : +33 1 4356 1746
RCS Paris 488.018.631
SARL au capital de 10.000 

Received on Thursday, 21 December 2006 15:01:56 UTC