Hi Bert, I don't have any XML :D My question is about ADL, not it's interpretation/execution, that is already handled by the current querying component of the EHRServer. What I'm curious about is if someone has a transformation between AQL syntax and XML, in other words, a XML expression of an AQL query. An AQL query can be instantiated and executed over any database, while XQuery is already an instance of a query (because it uses XPaths not ADL paths) and can be executed only in XML databases (and relational that support XML columns). The EHRServer database is relational, without any XML columns. Also, what I need is a bidirectional transformation AQL <-> XML. I guess it would be difficult to generate AQL from an XQuery expression.
-- Kind regards, Eng. Pablo Pazos Guti?rrez http://cabolabs.com Date: Tue, 16 Dec 2014 07:34:13 +0100 Subject: Re: Does anyone implemented a transformation between AQL and XML? From: [email protected] To: openehr-technical at lists.openehr.org Depending on how your XML is constructed, it is very easy to convert AQL to XQuery, or ADL-path to XPath. Bert Op dinsdag 16 december 2014 heeft pablo pazos <pazospablo at hotmail.com> het volgende geschreven: Just curious :) I'm adding version control features to EHRServer (https://github.com/ppazos/cabolabs-ehrserver) and I want to add some kind of AQL support in the future. Right now we have an internal querying model that abstracts from the physical database and allows the creation of queries for openEHR data from a UI.My idea is to have some kind of transformation between the EHRServer query model and AQL, and instead of struggle with AQL parsers I would like to do some XML transformations to import and export AQL (I do not need to actually execute AQL, the execution of the internal query model is working ok). Comments and ideas are very welcome! -- Kind regards, Eng. Pablo Pazos Guti?rrez http://cabolabs.com -- This e-mail message is intended exclusively for the addressee(s). Please inform us immediately if you are not the addressee. _______________________________________________ openEHR-technical mailing list openEHR-technical at lists.openehr.org http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.openehr.org/pipermail/openehr-technical_lists.openehr.org/attachments/20141216/9e174c47/attachment.html>

