Patternist

From Qt Labs

Jump to: navigation, search


Patternist
Project logo: patternistLogo.png
Platforms: GNU/Linux, Windows, Mac
License: GPL
Depends on: The Software Development Kit, found in patternist/sdk/, has dependencies on the shell and Bison.
   Patternist blogs
Subversion:
svn://labs.trolltech.com/svn/internet/patternist




[edit] Patternist

[edit]

Patternist is an open source XQuery and XPath 2.0 engine. Being accessible through a C++ API and a command line utility called `patternist', it aims at providing convenient functionality for querying and creating XML.

[edit]

Patternist is part of the XML module in Qt 4.4, which can be accessed through the Qt snapshots. Note that Patternist is not added to the compile when using a compiler that doesn't support C++ member templates(such as MSVC 6) or when C++ exceptions are disabled.


Two sets of documentation is available: for the public Qt API and for the internals.


Questions about Patternist and XQuery can be asked on the qt-interest mailing list or by contacting Trolltech.

[edit] Latest 5 Patternist Blogs

Henrik Hartz
Qt
WebKit
Patternist
Graphics Dojo
Posted by Henrik Hartz
 in Qt, WebKit, Patternist, Graphics Dojo
 on Tuesday, June 16, 2009 @ 07:45

While planning for Developer Days 2008 I tried to wring something interesting out of my technically starved brain to show off to the crowds of hackers attending. At the time I had just noticed Twitter, a service that seemed to promise the value of Facebook without all the junk - seeing status updates from my […]

» 7 comments «
gunnar
Uncategorized
Qt
Qt Jambi
WebKit
Qt Concurrent
Graphics View
Patternist
Posted by gunnar
 in Uncategorized, Qt, Qt Jambi, WebKit, Qt Concurrent, Graphics View, Patternist
 on Tuesday, June 10, 2008 @ 09:13

So the time is finally here. Qt 4.4.0 was released a few weeks ago and as promised Qt Jambi is right behind. A lot of effort has gone into this one, in addition to supporting all the new Qt features, like Phonon, Webkit, Widgets in Graphics View, XQuery and Qt Concurrent, we also have a […]

» 2 comments «
englich
Qt
Aggregated
Patternist
Posted by englich
 in Qt, Aggregated, Patternist
 on Thursday, November 15, 2007 @ 10:52

People have asked for Qt’s XQuery & XPath support to not be locked to a particular tree backend such as QDom, but to be able to work on arbitrary backends.
Any decent implementation(such as XQilla or Saxon) provide that nowadays in someway or another, but I’d say Patternist’s approach is novice, with its own share of […]

» No comments «
englich
Qt
Aggregated
Patternist
Posted by englich
 in Qt, Aggregated, Patternist
 on Tuesday, October 23, 2007 @ 09:26

Attention to details is ok, but compiler messages has historically not received it. Here’s an example of GCC’s output:
qt/src/xml/query/expr/qcastingplatform.cpp: In member function ‘bool CastingPlatform::prepareCasting():
qt/src/xml/query/expr/qcastas.cpp:117: instantiated from here
qt/src/xml/query/expr/qcastingplatform.cpp:85: error: no matching function for call to ‘locateCaster(int)’
qt/src/xml/query/expr/qcastingplatform.cpp:93: note: candidates are: locateCaster(const bool&)
Typically compiler messages have been subject to crude printf approaches and dignity has been […]

» No comments «
englich
Qt
Aggregated
Patternist
Posted by englich
 in Qt, Aggregated, Patternist
 on Tuesday, September 18, 2007 @ 10:03

The Qt snapshots now includes support for XPath 2.0 and XQuery 1.0.
Being part of the XML library, the idea is that Qt 4.4 will ship with a C++ API for running and evaluating such queries. On the side too, is a command line tool called patternist, for quickly testing queries, scripting and old-school web […]

» No comments «


© 2008 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide.
All other trademarks are property of their respective owners.