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

  • From: David Carlisle <davidc@n...>
  • To: xml-dev@l...
  • Date: Thu, 15 Apr 2010 12:58:33 +0100

On 15/04/2010 12:49, Michael Kay wrote:
> You would have to be insane to write it by hand. Here is the XQueryX
> equivalent of "2+2":
>

Also nothing in the xqueryx spec will tell you that is the xqueryx to 
add two numbers, you have to reverse engineer the xqueryx->xquery 
stylesheet to find out what is the xqueryx syntax equivalent to any 
xquery syntax.

The situation is not at all like that of the xml and compact syntaxes 
for RelaxNG where the two syntaxes are described in the same way being 
syntax for the underlying language constructs. Xqueryx is very much a 
second class citizen compared with the non-xml xquery syntax as it is 
only defined in terms of a syntax level translation to the standard syntax.

David

________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 
________________________________________________________________________


[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