Re: request as data source in transformation?

Sasha Firsov <suns@firsov.net> writes:
> That is about a very basic simple 1-way transformation. Which does not involve any
> pipeline branching, I.e. in scope of XSLT and NOT of XProc.

I think you’re probably right that, in the context of the browser,
considering where we are now and what (I think) you’re trying to
accomplish, using XSLT is probably a more practical suggestion than
using XProc.

That said, I’m not sure there’s a really crisp distinction between XSLT
and XProc. Given the opportunity to run an arbitrarily complex XSLT
transformation, there can be plenty of branching. A transform that runs
in the browser might use promises to evaluate functions (including
fn:transform) and consequently might do a lot of things that look like
branching. The user has less control over it, of course.

                                        Be seeing you,
                                          norm

--
Norm Tovey-Walsh
Saxonica

Received on Tuesday, 3 January 2023 16:47:28 UTC