Maybe I should rephrase my question: is there any way to convert the XalanCompiledStylesheet object into a byte stream or any kind of stream?
After I use the XalanTransformer::compileStylesheet function, a ptr of XalanCompiledStylesheet is returned to me, and I think the actual object is located in the XalanTransformer object. If there is no way to convert the XalanCompiledStylesheet into streams, can I simply use memcpy (or some other methods) to copy the entire XalanTransfomer object, and then retrieve the object the next time, so that I don't have to re-compile the stylesheet again? Thanks. Jacky -----Original Message----- From: David N Bertoni/Cambridge/IBM [mailto:david_n_bertoni@;us.ibm.com] Sent: Monday, October 28, 2002 2:18 PM To: [EMAIL PROTECTED] Subject: Re: Save the XalanCompiledStylesheet Object I have no idea what you're talking about when you say "the webcache," so I don't know how to answer you. You can obviously save the object that represents the compiled stylesheet, but you'll have to write code to cache it. Dave "Ho, Jacky" <jackyho@amazon. To: <[EMAIL PROTECTED]> com> cc: (bcc: David N Bertoni/Cambridge/IBM) Subject: Save the XalanCompiledStylesheet Object 10/28/2002 02:05 PM Please respond to xalan-dev Hi all, Is there any way to create/save the XalanCompiledStylesheet object? I have created the compiledStylesheet, and I want to save and put it into the webcache for later use. Thanks. Jacky
