Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Is there any way to give xsl in C# a hint as to how large the resulting document will be so that it preallocates more efficiently? >Thread Next - Re: Is there any way to give xsl in C# a hint as to how large the resulting document will be so that it preallocates more efficiently? Re: Is there any way to give xsl in C# a hint as to how large the resulting document will be so that it preallocates more efficiently?To: NULL Date: 11/4/2007 11:38:00 AM DR wrote: > Is there any way to give xsl in C# a hint as to how large the resulting > document will be so that it preallocates more efficiently? XSLT doesn't preallocate anything, it just writes either to in-memory structure as XmlDocument or file or any other stream. When running XSLT stylesheet in C# code you can preallocate memory buffer big enough and setup XslCompiledTransform class to output to that buffer. -- Oleg Tkachenko [XML MVP, MCPD] http://www.tkachenko.com/blog | http://www.XmlLab.Net | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
