PRB: XSL Transformations with XmlDataDocument May Perform More Slowly Than XPathDocument (318580)
The information in this article applies to:
- Microsoft XML Classes (included with the .NET Framework 1.0)
This article was previously published under Q318580 SYMPTOMS
XSL transformations (XSLT) with System.Xml.XmlDataDocument may run more slowly than XSLT with XPathDocument or XmlDocument.
CAUSEXmlDataDocument is primarily designed to act as the bridge between the DataSet and XML.
RESOLUTION
Run XSL transformations by using the XmlDocument or XPathDocument classes instead of XmlDataDocument. Microsoft recommends that you use XPathDocument, because it is highly optimized for XSL transformations. See the "More Information" section of this article for a code sample that uses the XPathDocument.
STATUS
This behavior is by design. The XmlDataDocument class is primarily designed for synchronizing XML with DataSet. Microsoft is looking into improving its performance for transformations in the next major release of Visual Studio .NET.
REFERENCES
For more information, click the links below to view the Software Developer Kit (SDK) documentation and the Microsoft Knowledge Base articles:
313651 ROADMAP for XML in the .NET Framework
To view the Software Developer Kit (SDK) documentation, visit the following Microsoft Web site:
Modification Type: | Major | Last Reviewed: | 9/22/2003 |
---|
Keywords: | kbBCL kbprb KB318580 kbAudDeveloper |
---|
|