Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - 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? [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?To: NULL Date: 11/8/2007 6:09:00 PM perfect thanks "Oleg Tkachenko [MVP]" <some@b...> wrote in message news:ePQOAasHIHA.3768@T...... > 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 | |||
|
