Re: p:filter using p:with-option for select

Sheila Thomson <discuss@bluegumtree.com> writes:
> I'm used to using XPath expressions within select attribute on p:with-option, to arrive at the value I wish to supply, but hadn't noticed that when the expected data type of that option is an XPathExpression or XSLTSelectionPattern, it needs to be a string

An option named “select” as distinct from the “select” attribute used on p:with-option (and other places) is absolutely confusing. The CG discussed the problem when p:filter was added. Naming the option something else would also have been confusing.

In the end, we couldn’t come up with a better solution. 

                                        Be seeing you,
                                          norm

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

> An expert is a person who has made all the mistakes that can be made in a very narrow field.--Niels Bohr

Received on Sunday, 26 April 2026 08:15:12 UTC