Learning XQuery
I'm convinced that Xquery is somewhat the non-elegent child of the xml family of technologies. Every single technology from XSL to Xpointer, Schema to XMLencryption seem to pick part of the puzzle and do that bit very well. So you can forgive me for thinking Xquery would only be useful for querying data from a xml database, somewhat the SQL of the XML world right? Nope, in actual fact its not only SQL but also PHP and the XML doesn't even have to be in a database at all. The crossovers with XSL is quite shocking for such a elegent family. Fear not, Xpath forms a large part of Xquery meaning us XSL lovers can jump straight in and feel a little at home with its strangely non-xml syntax, I actually quite like writing xml to create/transform xml. And if things get a little too weird in Xquery land, you can run for the beach by telling Xquery to do a XSL transformation on a tree of data instead.
Although it doesn't quite fit, its actually darn powerful and beats messing with XSP or other templating languages. For example, in about 6 easy to understand lines of Xquery, I was able to pull down a XHTML document, rip off its head element and append the body inside a ATOM feed. I could do the same with XSL but it would be much more lines and the way Xquery is setup, it seems to make more sense. One of the big issues people have with XSL is that it doesn't know anything about its environment. So for example calling the present time would require looking up a webservice or some other external logic like PHP, XSP, JSP, etc. Well with Xquery, you get all that type of logic which you could even pump into a XSL transform.
I'm learning Xquery right now mainly through Exist DB and this nice wikibook, which I converted to PDF using the wikibook system for offline reading and reference on my Ebook reader.
Categories
- aggregator (9)
- culture-and-politics (186)
- design-and-ideas (212)
- home entertainment (10)
- italic+mixing (77)
- just-plain-life (203)
- media-and-expression (284)
- italic+mixing (5)
- play-and-games (29)
- science+theory (26)
- social-hardware (254)
- socialware-offline (17)
- socialware-online (187)
- socialware-offline (225)
- technology (439)
- home entertainment (7)
- mobile-technology (198)
- technology-and-computing (146)
- xml and web 2.0 (317)
- data-and-semantic-web (104)
Recent Posts
- Very early stage thinking around Perceptive Media
- Pipeling our reality
- Teresa Valdez Klein – The Art of Subvertising on Facebook
- Working from the Northern Quarter
- Ignite Leeds: Who pays on the first date?
- We’re either riding or queuing
- 1 concept 2 films…
- Should I apply for a BBC Three dating experiment?
- My next phone… Its that of the year again
- Samsung Galaxy Tab 7++
- Surround Video on the next Xbox?
- Who needs SOPA when you have the DMCA?
- Talking at TEDxManchester
- Leeds Ignite updated to Feb 2nd
- Difference between Nerd, Dork, and Geek
- Distributed Social Networking, one day soon?
- There’s a open life in the Pacemaker yet
- Will I move to Ubuntu TV?
- The late night mixes
- Host of seraphim, gives me the chills every time
What I'm Doing...
- Just watched man on a ledge... not bad if you like prison break... good action 5/10 47 mins ago
- Want to join bbc and think about this type of problem? http://t.co/VJusgVfp Join us... http://t.co/UnqHdkOm 6 hrs ago
- Some more thinking about #perceptivemedia @MartinSFP @ar3toul4ki @brianamc @andycheeseman @TonyChurnside #SMC_MCR http://t.co/TvqiZdtV 8 hrs ago
- RT @smc_mcr: A write-up of @cubicgarden's #smc_mcr talk on perceptive media last night, on @thenextweb http://t.co/NivJoxNB 10 hrs ago
- Looking unlikely that I can make ppt available so soon. @MartinSFP working on a write up. @brianamc @andycheeseman @ar3toul4ki 13 hrs ago
- More updates...
Archives
Recent Comments
- Ian Forrester on Very early stage thinking around Perceptive Media
- Andy Cheeseman on Very early stage thinking around Perceptive Media
- Anonymous on Very early stage thinking around Perceptive Media
- Dj dirtySi on Teresa Valdez Klein – The Art of Subvertising on Facebook
- Ian Forrester on Ignite Leeds: Who pays on the first date?
- Teresa Valdez Klein – The Art of Subvertising on Facebook | Cubicgarden.com on Feel inspired by, I am, I do…
- Anonymous on Ignite Leeds: Who pays on the first date?
- Ian Forrester on Ignite Leeds: Who pays on the first date?
- ianforrester on We’re either riding or queuing
- Surfturfstiles on Should I apply for a BBC Three dating experiment?
Tags
android apple backstage barcamp bbc bbcbackstage bittorrent blog blogging conference dance dating dj drm ebook facebook flickr geek geekdinner google internet iphone kindle linux london londongeekdinner manchester microsoft mix mobile music orange pacemaker phone podcast rss science social trance tv ubuntu uk video werewolf xbmcLifestream
-
Published Pipeling our reality.
-
Published Working from the Northern Quarter.
-
Published Ignite Leeds: Who pays on the first date?.
-
Shared Who pays on the first date?.
-
Published We’re either riding or queuing.
-
Published 1 concept 2 films….
-
Published My next phone… Its that of the year again.


