OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: [xml-dev] XSLT and XQuery

[ Lists Home | Date Index | Thread Index ]

> -- 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





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS