|
[XQuery Talk Mailing List Archive Home] [By Date] [By Thread] [By Subject] [By Author] [Recent Entries] [Reply To This Message] xquery & web server in browserMatthias Brantner matthias.brantner at 28msec.comThu Jun 18 10:41:46 PDT 2009
Hello Michael, let me quickly try to comment on your issues below: On 17.06.2009, at 18:24, Michael Ludwig wrote: > Adam Retter schrieb: >> This may be of interest - >> http://www.zorba-xquery.com/index.php/xquery-in-the-browser-xqib/ > > I found this is a bad starting point, because of all the errors. > > (1) "text/xqueryp" should probably be "text/xquery" This is a left-over from the time XQuery Scripting was developed. By that time the proposal was called XQueryP (also see http://2006.xmlconference.org/proceedings/38/presentation.pdf for moe information). In the latest XQIB release, only "text/xquery" works. I have fixed this. > (2) XHTML namespace not declared in XQuery (not necessary?) This is not necessary. For convenience, XQIB declares the XHTML namespace implicitly. > (3) H1 should be h1 - but then apparently it shouldn't? Bizarrely, > //H1 works while //h1 doesn't. This is a well-known problem. HTML is case insensitive while XHTML is not (lower-case). In its internal DOM, Internet Explorer stores all element names in upper-case letters. Since XQuery is case sensitive, this requires local names to be written in upper case. This is also the case for HTML in Firefox. > (4) typographical quotes lead to non-recognition of XQuery <script> You're right! This is due to the formatting done by the content management system on zorba-xquery.com. > This is better to get started: http://www.xqib.org/samples/ Again right! The article mentioned above (i.e. on zorba-xquery.com) is meant to be a brief description of the XQIB project and not a tutorial. Best regards Matthias
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|






