Submitted by Paul Butcher on Fri, 2007-01-12 19:34.
The matcher function is unsupported. I have not been able to find any mention of it in the specifications for XSLT 1.0, XSLT 2.0, XPath 1.0, or XPath2.0, and XQuery. Could you direct us to where you read about it?
Submitted by Mark Birbeck on Sun, 2007-01-14 17:07.
I think you've missed Paul's point. :) He's saying that there is no such function in XPath or XSLT, so it would really help if you could tell us what makes you think there is. A search for "matcher xslt" in Google does return results, but the top one is this thread!
As it happens, XForms only defines support for the core XPath functions, and a few of its own extra functions--and doesn't add XSLT functions. Any functions that need to be added beyond this list would need to be extension functions. So we could add the matcher function, but we couldn't add it to XForms itself--i.e., as a function with no namespace prefix--we'd have to add it in a new namespace as an extension.
Matcher Function
The matcher function is unsupported. I have not been able to find any mention of it in the specifications for XSLT 1.0, XSLT 2.0, XPath 1.0, or XPath2.0, and XQuery. Could you direct us to where you read about it?
Matcher
Sorry. I'm not very knowledgeable about the specs.
I had assumed that all XSLT functions could be supported in the constraint attribute. Clearly I was wrong. :)
It would be nice to have it, however.
There is no such XSLT function
I think you've missed Paul's point. :) He's saying that there is no such function in XPath or XSLT, so it would really help if you could tell us what makes you think there is. A search for "matcher xslt" in Google does return results, but the top one is this thread!
As it happens, XForms only defines support for the core XPath functions, and a few of its own extra functions--and doesn't add XSLT functions. Any functions that need to be added beyond this list would need to be extension functions. So we could add the matcher function, but we couldn't add it to XForms itself--i.e., as a function with no namespace prefix--we'd have to add it in a new namespace as an extension.