all groups > dotnet xml > november 2007 >
You're in the

dotnet xml

group:

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?


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? DR
11/1/2007 3:45:28 PM
dotnet xml: 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? Martin Honnen
11/2/2007 12:00:00 AM
[quoted text, click to view]

C# uses System.Xml.XslCompiledTransform with .NET 2.0 or later and
System.Xml.Xsl.XslTransform in .NET 1.x. I don't know of any settings or
properties or methods to define (or hint at) the size of the result
documents.
Why do you think it is necessary with managed code?
Are there other XSLT processor APIs where you can define or hint at the
size of the result document?


--

Martin Honnen --- MVP XML
AddThis Social Bookmark Button