Thank you for the answers. I agree with Mukul Gandhi that using XSLT can save design hours and would be more maintainable in the future, but originally I thought that it may be too big and unnecessary for my little task, if there was some other method to do it. I know about the possibility to extend XSLT, although I never wrote any extension myself. I wrote "If I understand correctly, Xalan is not an option.", because I wanted to know if there isn't any method of transforming documents other than XSLT in Xalan that I am unaware of. I checked the Xalan Java extensions and I couldn't find anything about integration with Spring. There is a possibility to create new instance and call a static method from XSLT stylesheet. Do you know if there is some way to obtain a reference to Spring Bean inside XSLT stylesheet?
StAX looks better than my solution, which uses XNI, so if I am unable to use Spring Beans from XSLT, I will probably consider rewriting my code to use StAX. Best regards, Dawid Chodura --------------------------------------------------------------------- To unsubscribe, e-mail: j-users-unsubscr...@xerces.apache.org For additional commands, e-mail: j-users-h...@xerces.apache.org