No, System.Xml is absolutely not based on MSXML 3.0. It's a complete
managed implementation. There is no unmanaged code or interop with COM
objects under the covers.
The performance difference between System.Xml is documented in the
Microsoft KB and discussed this thread [0]. The next release of
System.Xml in Visual Studio 2005 will address the performance issue
[1][2].
HTH,
Christoph Schittko
MS MVP XML
http://weblogs.asp.net/cschittko
[0]
http://www.dotnet247.com/247referenc...31/156985.aspx
[1] iwce.calanza.com/content/ARC380_Fussell.ppt
[2]
http://blogs.msdn.com/mfussell/archi...15/242659.aspx
[color=blue]
> -----Original Message-----
> From: jd [mailto:jiglu_desai@yahoo.com]
> Posted At: Thursday, November 25, 2004 7:55 AM
> Posted To: microsoft.public.dotnet.xml
> Conversation: performance of system.xml vs msxml4.0
> Subject: performance of system.xml vs msxml4.0
>
> I have an xsl file to generate xml in to an html file. The size of
> the xsl is 300kb and size of the xml is 47 kb (the size of xml is
> variable).
> I am using VB.net to convert the xml file into an html file. The
> vb.net module peforms following task:
>
> load the xml file in XMLDocument object ( I can't use XpathDocument
> object)
> load the xsl file in XSLTransform object
> perform the transformation.
>
>
> When I was using VB6 with Msxml 4.0 parser, I was getting good
> performance results. The transformation was completed in an average
> time of 40-50 milli second. When the same trasformation was
> performed using system.xml the timings came around 100-120 milli
> second.
>
> Secondly as the size of the xml increases, the timings with system.xml
> increased significantly when compared with msxml 4.0.
>
> Is the use of System.xml slow compared to msxml 4.0 ? Is the
> statement "System.xml is based on msxml3.0" true?
> How can I improve the timing while performing the transfromation using
> xsltransform?[/color]