19 Feb
2014
19 Feb
'14
10:26 a.m.
Hi I'm using BaseX in embedded mode (no database) and need to transform an xml payload that contains elements containing string-encoded xml in this form ... <str><objectInstance fetchDate="2014-02-14T13:00:53.374+01:00"> <createdDateTime>2012-12-04T08:55:26.195Z</createdDateTime> </objectInstance></str> ... I have both tried using xquery update (copy, modify) and with a simple identity-transform function that intercepts the <str/> element and replaces it with the results of parse-xml(.) When executing the query in BasexGUI both solutions performs very well. However if i invoke it via the QueryProcessor in my java-process it is 50 to 100 times slower. Any clues to what i might be missing? Regards, Johan Mörén