Re: Dynamic evaluation of XPath

John Dziurlaj <john@turnout.rocks> writes:
> Suppose I have an XPath expression stored as an XML attribute in an input document and I wish to evaluate it in XProc (not XSLT). If I don’t have access to saxon:evaluate() how to I go about this?

This seems not unlike the question that David posted recently. You can pass the $assert expression to the XQuery step and test the output of that step in your choose.

                                        Be seeing you,
                                          norm

--
Norm Tovey-Walsh <ndw@nwalsh.com>
https://norm.tovey-walsh.com/

> Patriotism is often an arbitrary veneration of real estate above
> principles.--George Jean Nathan

Received on Wednesday, 22 January 2025 14:11:47 UTC