<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Thank you again, Michael, for your response.
<blockquote cite="mid:26E501CA7E9A44038451EBF288FF0D64@Sealion"
 type="cite">
  <meta http-equiv="Content-Type" content="text/html; ">
  <meta content="MSHTML 6.00.6001.18203" name="GENERATOR">
  <div dir="ltr" align="left"><span class="746513710-27032009"><font
 color="#0000ff" face="Arial" size="2">Perhaps this should be a project
for EXQuery.</font></span></div>
</blockquote>
Good idea !<br>
<blockquote cite="mid:26E501CA7E9A44038451EBF288FF0D64@Sealion"
 type="cite">
  <div dir="ltr" align="left"><span class="746513710-27032009"><font
 color="#0000ff" face="Arial" size="2"> 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.</font></span></div>
</blockquote>
Yes, you're right.<br>
<blockquote cite="mid:26E501CA7E9A44038451EBF288FF0D64@Sealion"
 type="cite">
  <div dir="ltr" align="left"><span class="746513710-27032009"></span>&nbsp;</div>
  <div dir="ltr" align="left"><span class="746513710-27032009"><font
 color="#0000ff" face="Arial" size="2">I think there are three possible
styles of XML representation:</font></span></div>
  <div dir="ltr" align="left"><span class="746513710-27032009"></span>&nbsp;</div>
  <div dir="ltr" align="left"><span class="746513710-27032009"><font
 color="#0000ff" face="Arial" size="2">(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
"&lt;" and "&lt;&lt;" operators, and preventing people writing&nbsp;non-XML
things like &lt;e att="{&lt;e att="{"3"}"/&gt;}"/&gt; which are
currently legal but rather useless.</font></span></div>
  <div dir="ltr" align="left"><span class="746513710-27032009"></span>&nbsp;</div>
  <div dir="ltr" align="left"><span class="746513710-27032009"><font
 color="#0000ff" face="Arial" size="2">(b) one that uses a bit more XML
markup, e.g.&nbsp;giving an alternative XML-based syntax for prolog
declarations like "import schema" and for function signatures.</font></span></div>
  <div dir="ltr" align="left"><span class="746513710-27032009"></span>&nbsp;</div>
  <div dir="ltr" align="left"><span class="746513710-27032009"><font
 color="#0000ff" face="Arial" size="2">(c) the full
(non-human-readable) fine-grained XQueryX syntax.</font></span></div>
  <div><span class="746513710-27032009"></span>&nbsp;</div>
  <div><span class="746513710-27032009"><font color="#0000ff"
 face="Arial" size="2">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).</font></span></div>
</blockquote>
In my point of view, benefits with (a) would be less than with (b).
Grammar analysis is much easier with XML markup. I would like XQuery
XML notation to be at the same level as XSLT.<br>
<blockquote cite="mid:26E501CA7E9A44038451EBF288FF0D64@Sealion"
 type="cite">
  <div><span class="746513710-27032009"></span>&nbsp;</div>
  <div><span class="746513710-27032009"><font color="#0000ff"
 face="Arial" size="2">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.</font></span></div>
</blockquote>
Thank you also for this remark !<br>
<br>
Regards,<br>
<br>
Alain COUTHURES
<br>
&lt;agenceXML&gt;
<br>
Bordeaux, France
<br>
XForms for browsers without plug-in : <a class="moz-txt-link-freetext"
 href="http://www.agencexml.com/xsltforms">http://www.agencexml.com/xsltforms</a>
<br>
</body>
</html>