feristhia / xmla4js

Automatically exported from code.google.com/p/xmla4js
0 stars 0 forks source link

Optimize xmla-result-pivot-table.xslt #18

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I found that mdx result transform to html is too slow, is there plan for 
optimizing xmla-result-pivot-table.xslt file with keys? I attached possible 
modification, transformation to html with this file is 6x faster.

Original issue reported on code.google.com by Petr.Ner...@gmail.com on 19 Jul 2012 at 10:32

Attachments:

GoogleCodeExporter commented 9 years ago
Hi Peter, 

I'm happy to accept your patch. However, the xslt example is about to be 
deprecated.

The xslt example has been in since the early beginnings of xml4js. At that 
time, there was no javascript api to work with multidimensional results, only 
with tabular results. Currently, there is a rich javascript api to work with 
multi-dimensional results, and this is the preferred and recommended for any 
applications that want to work with multi-dimensional data sets.

The only reason for keeping the xslt example is that it shows that if people 
want, they can still access the raw xml response. However, it is anticipated 
that the requirement to use that is an edge case. For this reason, performance 
has never had any focus at all for the xslt example.

I hope this clears it up. 

Original comment by roland.bouman on 19 Jul 2012 at 11:12

GoogleCodeExporter commented 9 years ago
I understand, thanks for answer.

Original comment by Petr.Ner...@gmail.com on 19 Jul 2012 at 11:39