Skip to content Skip to sidebar Skip to footer

Transformation Xsl/xml In Android

The XSLTProcessor doesn't work in WebKit (Android): the include element in XSL are not managed. So, I use Saxon to make a transformation XSL/XML. The problem is it so slow: the tr

Solution 1:

Large stylesheets can be a bit of a performance problem with Saxon-CE because of the need to fetch all the modules from the server and compile them before anything can be executed. Also it's much harder to get good instrumentation to see where exactly the time is going.

One approach to solving this is to see how much scope there is for cutting the stylesheet down to size or reducing the number of modules. Another approach is to do some of the processing on the server side, so the amount of transformation that needs to be done on the browser side is reduced. Also these days there's a lot that can be done with CSS; don't use XSLT to do something that could be done with CSS.

Post a Comment for "Transformation Xsl/xml In Android"