Re: Comparing p:delete and p:viewport

On 5/1/07, Alex Milowski <alex@milowski.org> wrote:
>
>
>
> On 5/1/07, Innovimax SARL <innovimax@gmail.com> wrote:
> >
> >
> > Regarding both of them
> >
> > I find some inconsistencies
> >
> > I started from the fact that
> >
> > <p:delete>
> > <p:option name="match" value="##pattern"/>
> > </p:delete>
> >
> > should be equivalent to
> >
> > <p:viewport match="##pattern">
> > <p:output port="result"/>
> > </p:viewport>
>
>
>
> The viewport needs a replacement for the elements that are
> matched.  As such, it can't be equivalent as we've currently
> specified viewport.  I don't think we want to change that.
>


I wasn't aware of that restriction !

does it mean, that

<p:viewport match="##pattern">
  <p:output port="result"/>
  <p:identity>
    <p:input port="source">
      <p:inline/>
    </p:input>
  <p:identity>
</p:viewport>
is incorrect ?

Mohamed

-- 
Innovimax SARL
Consulting, Training & XML Development
9, impasse des Orteaux
75020 Paris
Tel : +33 8 72 475787
Fax : +33 1 4356 1746
http://www.innovimax.fr
RCS Paris 488.018.631
SARL au capital de 10.000 €

Received on Tuesday, 1 May 2007 14:04:06 UTC