Category Archives: Utility

New XQuery / XPath Working Drafts

The XQuery working Group has just published new versions of the following specifications: XQuery 1.1: An XML Query Language http://www.w3.org/TR/2009/WD-xquery-11-20091215/ XQueryX 1.1 http://www.w3.org/TR/2009/WD-xqueryx-11-20091215/ XQuery 1.1 Requirements http://www.w3.org/TR/2009/WD-xquery-11-requirements-20091215/ These include a number of significant new XQuery features, including: * group by clause in FLWOR Expressions * tumbling window and sliding window in FLWOR Expressions * count clause in FLWOR Expressions * allowing empty in 3.8.2 For Clause (for functionality similar to outer joins in SQL) * try/catch expressions * Dynamic function invocation * Inline functions * Private functions * Nondeterministic functions * Switch expressions * Computed namespace constructors * Output declarations The XQuery and XSL Working Groups have published First Public Working Drafts of the following specifications: XPath 2.1 http://www.w3.org/TR/2009/WD-xpath-21-20091215/ XQuery and XPath Data Model 1.1 http://www.w3.org/TR/2009/WD-xpath-datamodel-11-20091215/ XPath and XQuery Functions and Operators 1.1 http://www.w3.org/TR/2009/WD-xpath-functions-11-20091215/ XSLT and XQuery Serialization 1.1 http://www.w3.org/TR/2009/WD-xslt-xquery-serialization-11-20091215/ Jonathan

Continued here:
New XQuery / XPath Working Drafts

Problems inserting an attribute that contains new lines

Hello, We are using mxquery 0.6. A few months ago, I noticed a problem where our xquery updates were losing newlines. One of my coworkers did some testing, closed it as “not a bug, cannot reproduce”, but now today I’ve found that the problem is still happening when inserting attributes but not replacing them (which is probably what he tested).

Read more here:
Problems inserting an attribute that contains new
lines

How to preserve " in text node output in result tree

Hi All, I am creating a result tree from my source tree using XQuery . I have source tree sample data as follows: * “Conservancy.”A charitable corporation * My result tree data should be like this : * "Conservancy. " A charitable corporation * My question is, how can i convert *”* (single quote) in my source tree into its Unicode equivalent *" * in my result tree using XQuery.

More:
How to preserve "
in text node output in result tree

XQuery Implementation for PHP

look like “soup from stone” (or nails or axe – depend from country) – php should leave our lives at all Stephen Leacock – “I detest life-insurance agents: they always argue that I shall some day die, which is not so.” – http://www.brainyquote.com/quotes/authors/s/stephen_leacock.html 2009/11/4 William Candillon : > Hello, > > The PHP bindings are featured in an IBM developerWorks article: > http://www.ibm.com/developerworks/ xml /library/x-zorba/index.html. > > Best regards, > > William > > On Fri, Oct 16, 2009 at 7:17 AM, Matthias Brantner > wrote: > > Hello, > > the Zorba XQuery processor (zorba-xquery.org) provides language bindings for > > PHP.

Read more:
XQuery Implementation for PHP

[ANN] Altova announces v2010 of the MissionKit tool suite

Altova is pleased to announce general availability version 2010 of its MissionKit XML, database, and UML tools. v2010 is our MOST WANTED release and includes over 70 new customer-requested features. Just a few of these include: * Support for WSDL 2.0 , JSON , and SysML technologies * Database schema comparison * New stylesheet design paradigm with advanced support for electronic form design * Enhanced XBRL functionality * And much more More info and screenshots are available at Download a fully functional free trial at Best regards, Liz Liz Andrews Technical Marketing Manager Altova, Inc

Read more here:
[ANN] Altova announces v2010 of the MissionKit tool
suite

Benchmarking on XQuery Implementation in DBMS

A fair bit of work has been done but more is always needed. I think you need to start out with very clear objectives, especially in the following areas: * are you going to try and measure how well the products handle something close to a “real-life” workload (including factors such as updating, database loading, etc), or are you going to measure a small number of synthetic queries? * are you going to make strenuous efforts to get the best possible performance out of each product that you test, or are you simply going to measure what it achieves “out of the box”

Read the rest here:
Benchmarking on XQuery Implementation in DBMS

Installing BI Publisher into Weblogic Server 11g

Thursday, October 22nd, 2009 by Mark Rittman I was on-site yesterday helping an ISV integrate BI Publisher into their product, and hit a few issues getting the product installed and running on the Weblogic application server. BI Publisher comes integrated out-of-the-box with OC4J and Oracle Application Server, but you’ll need to install and configure it manually to work with other application servers You can read the full article HERE . Many Thanks to Mark for his posting.

The rest is here:
Installing BI Publisher into Weblogic Server 11g

parsing dates

On Tue, Oct 6, 2009 at 14:44, David Sewell wrote: > On Mon, 5 Oct 2009, Joe Wicentowski wrote: > > > As far as your specific question, you could run a series of “if ($date > > castable as …) then … else” statements on the following datatypes : > typeswitch tests for node kinds, not data types, so the “if castable” > approach is probably the way to go (barring the custom data type > solution that Michael mentioned).

Link:
parsing dates

In search of sample data …

Hans Juergen, I only have three words of advise, given your request: www.data.gov http://www.recovery.gov/ www.programmableweb.com/ Best regards Dana On Oct 2, 2009, at 3:03 PM, Hans-Juergen Rennau wrote: > Hello People, > > preparing an extensive XQuery workshop, I am looking for interesting > sample data. What I have in mind is data that > – are public and available online via URL (either static or as REST- > ful webservice) > – have intermediate complexity (> 50 data items, – must be in English (both tags and contents) > – may be dynamic, but not too ephemeral > – schema data welcome > > Should anybody have suggestions, I would be grateful! > > With kind regards, > Hans-Juergen > > > > > _______________________________________________ > http://x-query.com/mailman/listinfo/talk > http://x-query.com/mailman/listinfo/talk

Read more:
In search of sample data …

using a variable within a regexp pattern in XQuery

It’s very unhelpful to report that something “doesn’t work” without saying how it failed. And if you expected the expression to do something useful, it’s useful to say what you expected it to do: you can’t expect us to guess the intention behind incorrect code. If $q is a variable containing part of a regular expression , then you can include it in a regex using the concat function: matches(., concat(‘(‘, $q, ‘)*’) Regards, Michael Kay http://www.

Read the original:
using a variable within a regexp pattern in XQuery