Re: p:exec -- can it apply to only selected parts of input using a loop?

Also, viewports are useful for other stuff than just modifying a document.

For instance, what if you wanted to store all HTML elements as separate HTML
files but ignore all TEXT elements? in this case p:modifySubtree
and p:modifyNode wouldn't be meaningful.

I look at p:viewport as a kind of advanced version of p:for-each. If it had
to be renamed, then maybe p:for-each-match ?

Anyway, I like "p:viewport" - both the step and it's name :)

Regards
p:viewport-fan

2011/2/2 <vojtech.toman@emc.com>

> > Vojtech,, although I understand your points fully they
> > speak to me that viewport is talking about something
> > other than xml documents.
>
> Yes, the original viewport definition(s) may be unrelated to XML, but that
> does not mean we cannot take existing concepts and apply them to XML, or to
> any other area.
>
> Regards,
> Viewport :)
>
>
> --
> Vojtech Toman
> Consultant Software Engineer
> EMC | Information Intelligence Group
> vojtech.toman@emc.com
> http://developer.emc.com/xmltech
>
>
>
>

Received on Wednesday, 2 February 2011 13:14:59 UTC