[XQuery Talk Mailing List Archive Home] [By Date] [By Thread] [By Subject] [By Author] [Recent Entries] [Reply To This Message]

[ANN] XQuery as a scripting language in IE

Michael Kay mike at saxonica.com
Fri Mar 27 10:49:59 PST 2009


  [ANN] XQuery as a scripting language in IE
 > Because a recommendation needs a long time to be published, as soon as I
will write my own XRX application, I will add to my XML script engine "tXs"
(something in between XProc and the XSLT machine shown at XML Prague) my own
XML notation for XQuery. I will publish it then...
 
Perhaps this should be a project for EXQuery. I suspect your chances of
getting everyone to accept your design are much better if you have a forum
for consultation rather than trying to present it as a fait accompli - even
if you do a magnificent job of the design, other people might have different
use cases.
 
I think there are three possible styles of XML representation:
 
(a) one that looks as much as possible like current human-readable XQuery.
This is largely a question of changing the rules for escaping of special
characters such as the "<" and "<<" operators, and preventing people writing
non-XML things like <e att="{<e att="{"3"}"/>}"/> which are currently legal
but rather useless.
 
(b) one that uses a bit more XML markup, e.g. giving an alternative
XML-based syntax for prolog declarations like "import schema" and for
function signatures.
 
(c) the full (non-human-readable) fine-grained XQueryX syntax.
 
Since we already have (c), I think the main requirement is probably for
something like (a) (though (b) would give benefits if people want a
compromise between human-readability and software-readability).
 
One of the challenges is in defining how the in-scope namespaces from the
containing XML document should affect the static context of the query.
 
Michael Kay
http://www.saxonica.com/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://x-query.com/pipermail/talk/attachments/20090327/50952522/attachment.htm


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2011 All Rights Reserved.