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

What is XQuery doing wrong and why does it get ignored !?

Rob Koberg rob at koberg.com
Fri Jul 23 15:30:37 PDT 2010

  What is XQuery doing wrong and why does it get 
	ignored !?
What Andrew said.

It seems that the apply-template and template/@match, so far, cannot
be done against an XML DB. There were hints that XSL could run
natively on an XML DB for a few(?) years, but it hasn't happened yet.

I think XQuery would encourage adoption if it focused on querying XML
and providing the smallest amount of content, in the least memory
intensive form, potentially doing a basic/simple transformation, to
XSL or whatever.

I think XQuery in the browser is ridiculous.


On Fri, Jul 23, 2010 at 11:09 AM, Andrew Welch <http://x-query.com/mailman/listinfo/talk> wrote:
>> Also - I'm quite happy using xquery as a database query / xml transformation
>> language.
> As an xml transformation language xquery is a pain to use... the 3
> main problems I have are:
> 1. If your input xml is in no namespace, and your output xml changes
> the default namespace (such as a bog standard xml -> xhtml transform)
> then you hit that massive (absolutely massive!) issue of the xpath
> default namespace change.
> 2. In a "process it if its there" scenario which is very common in xml
> transforms, you have to constantly check if the input is there before
> creating the output structure:
> let $thing := /path/to/whatever
> return if (normalize-space($thing)) then
>  <elem>{$thing}</elem>
> else()
> rather than just do xsl:apply-templates.
> 3.  The recursive typeswitch is no substitute for XSLT's recursive descent...
>> I'm less excited about its future as a full-blown web development
>> platform, although for rapid prototyping it is definitely much nicer than
>> having to deal with a Java stack, so it probably has some legs for that
>> race.
> Hopefully that is the future, single-tier end-to-end xml... much more
> fun than your typical java stack.
> --
> Andrew Welch
> http://andrewjwelch.com
> Kernow: http://kernowforsaxon.sf.net/
> _______________________________________________
> http://x-query.com/mailman/listinfo/talk
> http://x-query.com/mailman/listinfo/talk


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.
First Name
Last Name
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-2013 All Rights Reserved.