YQL can output results in either JSON or XML. It just uses XML for table definitions, and as one of several ways to extract data from web services.
It would be nice, vicaya, if you fact checked before throwing stones.
That seems irrational.
Papers for Web Query Language on Google
http://www.cs.toronto.edu/~websql/www-conf/wsql/PAPER267.htm...
http://www.w3.org/TandS/QL/QL98/pp/wql.html