Serializing the XsltExecutable - or at any rate, the underlying PreparedStylesheet - works under Java, but it's not tested/supported under .NET. I gather there are some problems with IKVMC in the area of making objects serializable, but I haven't really investigated. More to the point, the facility under Java really doesn't work all that well - it takes almost as long to deserialize the prepared stylesheet as it takes to recompile it from source.
 
Michael Kay
http://www.saxonica.com/


From: Jan Kovařík [mailto:kovarikjan@gmail.com]
Sent: 01 February 2009 10:14
To: saxon-help@lists.sourceforge.net
Subject: [saxon] saxon serializing

Hi,

i wonder if it's possible to somehow serialize the Processor object and the XsltExecutable to a file using .NET API. I have a very large stylesheet and i need to cache it as a file.

Any help would be appreciated.

Jan Kovařík