- From: Norman Walsh <ndw@nwalsh.com>
- Date: Wed, 16 Mar 2016 16:05:27 -0500
- To: public-xml-processing-model-wg@w3.org
Received on Wednesday, 16 March 2016 21:05:54 UTC
Alex Miłowski <alex@milowski.com> writes:
> I assert that this use of viewport:
>
> $doc → replace("//section") { $matched → filter() → $replacement }
> ≫ $result
>
> can be done with this:
>
> $doc//section ! filter() ≫ $replacements
> xslt([source=$doc,collection=$replacements,stylesheet="stitch.xsl"])
> ≫ $result
Oh, barf. Yes, I suppose it can, if you construct a different
“stitch.xsl” for each possible match. Color me unsatisified.
Be seeing you,
norm
--
Norman Walsh
Lead Engineer
MarkLogic Corporation
Phone: +1 512 761 6676
www.marklogic.com
Received on Wednesday, 16 March 2016 21:05:54 UTC