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

  • From: Michael Kay <mike@s...>
  • To: xml-dev@l...
  • Date: Thu, 27 Jan 2011 09:36:54 +0000


>
> Anyway, it is an interesting question. I think the same question could 
> be asked, rephrased, as "what is the smallest class of formal grammars 
> that every Xpath (evaluating to boolean) belongs to?"
>

I don't understand the question. There's no grammar that precisely 
describes the set of documents for which the expression

sum(//order/@value) > 826

returns true. It's not a grammatical constraint.

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