[Home] [By Thread] [By Date] [Recent Entries]

  • From: Michael Kay <mike@s...>
  • To: xml-dev@l...
  • Date: Mon, 02 Jul 2012 14:35:39 +0100



On 02/07/2012 13:38, David Lee wrote:
> I personally would love to see xml level regex in XQuery and XSLT.
> The examples are quite concise and readable.
> Just noodling, would it be possible to translate some forms of regex into XPath ?  Or would XPath (and XSLT match expressions) need deep enhancements.
The way I've thought about doing this in the past would be some kind of 
generalization of group-starting-with and group-ending-with, to 
something like

group-matching="image, caption*, table"

But it's a lot of machinery addressing a rather specialized requirement, 
so it's hard to see it ever making the cut.

Michael Kay
Saxonica


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member