[Home] [By Thread] [By Date] [Recent Entries]
> -- XQuery should normatively reference XPath 2.0 for the > PathExpr grammar > production rather than duplicating it -- if at all possible. The XQuery and XPath documents are generated from a single XML master source. We decided that users would find it more convenient if the common material was present in both documents rather than requiring constant cross-referencing from one to the other. Internally we work with a master HTML document that describes both languages, using color to highlight the differences. There are many ways of tackling the presentation, but it's essentially an editorial problem rather than a technical one. (Incidentally the common XML source represents the grammatical productions in such a way that a JavaCC parser can be automatically generated using an XSLT stylesheet, and this JavaCC parser has been used to test the examples in both documents). Mike Kay
|

Cart



