By englich

XML to QObjects: QXmlToQObjectCreator

Published Thursday October 23rd, 2008 | Comments Off on XML to QObjects: QXmlToQObjectCreator
Posted in Aggregated, Qt

Thank you, to all who attended Dev Days 2008 in Munich. For me it was really great to talk to so many users and hear about all the baffling projects that people pull off with Qt. And of course, to hear how people use and what people need, in terms of Qt’s XML support. One […]

Read More

XSL-T and Qt

Published Wednesday September 10th, 2008 | Comments Off on XSL-T and Qt
Posted in Aggregated, Qt

A couple of weeks ago, I merged the development branch for XSL-T into our main line, heading for Qt 4.5. The idea is that Qt will carry an XSL-T 2.0 implementation with as usual being cross-platform, having solid documentation, and easy of use. Using it is should straightforward. Either on the command line: xmlpatterns yourStylesheet.xsl […]

Read More

QIODevice and QXmlQuery

Published Tuesday December 11th, 2007 | Comments Off on QIODevice and QXmlQuery
Posted in Aggregated, Uncategorized

I have not yet seen an API for XQuery in which integrating the data model, atomic values, nodes and all, into the interfacing language has been a walk in the park. At the top of the list of things people tend to ask on the forums around is “How do I get XML represented as […]

Read More

Query Your Toaster

Published Thursday November 15th, 2007 | Comments Off on Query Your Toaster
Posted in Aggregated, Patternist, Qt

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 […]

Read More

Integrating Compiler Messages

Published Tuesday October 23rd, 2007 | Comments Off on Integrating Compiler Messages
Posted in Aggregated, Patternist, Qt

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 […]

Read More

XPath & XQuery in Qt

Published Tuesday September 18th, 2007 | Comments Off on XPath & XQuery in Qt
Posted in Aggregated, Patternist, Qt

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 […]

Read More

Representing XML

Published Thursday January 11th, 2007 | Comments Off on Representing XML
Posted in Aggregated

Patternist, the XQuery/XPath/XSL-T framework, is abstracted to be able to use different tree-implementations, in concept like Saxon. Up until now, Patternist has been using one that wrapped Qt’s QDom. When I started writing that very first tree backend it was with the purpose to boot strap the rest of the code, a temporary solution that […]

Read More

xmlstat

Published Tuesday January 9th, 2007 | Comments Off on xmlstat
Posted in Aggregated

I wrote a small tool for extracting statistics about XML documents. If I was less lazy, it could be more useful. Still, to some use I think it is. (more…)

Read More

XQuery Papers

Published Monday January 8th, 2007 | Comments Off on XQuery Papers
Posted in Aggregated

I’ve been reading research papers about XQuery recently and I am impressed. I’ve always had the impression that the amount of papers have significantly increased during the XPath 2.0/XQuery 1.0 “era”, but my conviction that the organic nature of XML is hopeless to query and store efficiently has withstood until now — to mention one […]

Read More

Plain and Heard Before

Published Sunday January 7th, 2007 | Comments Off on Plain and Heard Before
Posted in Aggregated

Celeste is doing historical research on KDE’s usability. To her request for my comment on things, I modestly replied: I think my effective contributions are modest, although one could say I’ve tried. But I can of course always express my view. Her response, which made me think, was: Your view is what matters to me, […]

Read More
Get started today with Qt Download now