[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Re: [xml-dev] are the regular expressions over xml structure?
- From: Michael Kay <mike@saxonica.com>
- To: xml-dev@lists.xml.org
- 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]