Martin Kola??k wrote: > as I read in change list the support for JavaScript was removed from XXE. > But, I am using simple scripts in CSS (to obtain values of some document > attributes or for simple transformation of values of attributes like align) > and after removing JS support this, of course, does not work. > > Is there some way to achieve identical behaviour for CSS?
Sure but you need to write a style sheet extension in Java. This is very simple for a Java programmer. See http://www.xmlmind.com/xmleditor/_distrib/docs/dev/ar01s07.html In V2.6, evaluate() should be back but it will evaluate an XPath expression (full XPath 1 should be supported + useful extension functions). Support of scripting (any scripting language) has been definitely dropped from XXE. The main reason is that designing a *very good* high-level API for scripting languages, and documenting it *very well* with a lot of examples, is a lot of work and we don't believe that this feature will give us a good return on investment. PS: I CC-ed this email to the mailing list because it is of general interest.

