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 (196)
- design-and-ideas (229)
- home entertainment (13)
- italic+mixing (78)
- just-plain-life (218)
- media-and-expression (293)
- italic+mixing (5)
- play-and-games (31)
- science+theory (30)
- social-hardware (255)
- socialware-offline (18)
- socialware-online (187)
- socialware-offline (225)
- technology (448)
- home entertainment (8)
- mobile-technology (203)
- technology-and-computing (148)
- xml and web 2.0 (319)
- data-and-semantic-web (105)
Recent Posts
- Imagine XBMC with Leap…
- BBC R&D/FIRM Research Fellow…
- RescueTime for Linux (beta)
- Love of the Self or Data sexuality?
- Pictures Under Glass and nothing else
- Relationships 2.3 – Breaking up is hard to do?
- Rescue time meet Arya
- Barber Boutique: Therapy for men
- Fan Art on everything…
- Perceptive Media presentation at the EBU, Copenhagen
- Islington wharf without water
- Art of writing dating profiles
- Did I say I was going to Copenhagen, Denmark?
- Serendipity and the Creative Collision
- HTC One X gets software update, still waiting!
- Demand your data from Google and Facebook
- The HTC One X reviewed
- HTC One X and Dropbox up a tree…
- Kevin Rose interviews Kevin Systrom, founder of Instagram
- Some things Cory Doctorow said recently
What I'm Doing...
- At the first @BBC_Connected technical studio/hackday good ideas and development http://t.co/3h68Hb4f 15 hrs ago
- #Techgrumps 61: What rhymes with bunting? http://t.co/CYSuIdS6 with @teknoteacher @eastmad @tommorris @ntlk @ianforrester 20 hrs ago
- Nice! @Leapmotion + @XBMC = Sounds like a dream come true? 20 hrs ago
- #perceptivemedia steps closer should talk to @nvidia sometime http://t.co/fasj5XIX 22 hrs ago
- #bbcconnected hack day in progress at #mcuk http://t.co/rTQArJEq 1 day ago
- More updates...
Archives
Recent Comments
- Michael Sparks on BBC R&D/FIRM Research Fellow…
- Mid HRBizChriz on BBC R&D/FIRM Research Fellow…
- RescueTime for Linux (beta) | Cubicgarden.com on Rescue time meet Arya
- ianforrester on Rescue time meet Arya
- ianforrester on Rescue time meet Arya
- WELCOME! | WESTEND BARBERS on Barber Boutique: Therapy for men
- Relationships 2.3 – Breaking up is hard to do? | Cubicgarden.com on Geeky&Sexy… The politics of first time dating
- Joe on Rescue time meet Arya
- Mark Tanner on The HTC One X reviewed
- Barber Boutique: Therapy for men | Cubicgarden.com on A year of making love and where it went wrong
Tags
android apple backstage barcamp bbc bbcbackstage bittorrent blog blogging conference data dating dj drm ebook facebook flickr geek geekdinner google internet iphone kindle linux london londongeekdinner love manchester microsoft mix mobile music orange pacemaker phone podcast rss science social trance tv ubuntu video werewolf xbmcLifestream
-
Published Imagine XBMC with Leap….
-


