Slow performance issue occurs when you try to transform an ADO.NET DataSet with non-nested DataRelation objects (325693)
The information in this article applies to:
- Microsoft .NET Framework Class Libraries 1.0
- Microsoft .NET Framework Class Libraries 1.1
- Microsoft .NET Framework 2.0
- Microsoft ADO.NET (included with the .NET Framework) 1.0
- Microsoft ADO.NET (included with the .NET Framework 1.1)
- Microsoft ADO.Net 2.0
This article was previously published under Q325693 SYMPTOMS
Performance of your computer system slows when you try to transform the XML representation of a DataSet that has multiple related DataTable objects whose DataRelation objects are not nested to reflect a hierarchical structure.
CAUSE
Many XSL Transformation (XSLT) performance problems are caused by non-optimized code in the XSLT stylesheet. The non-optimized code might also be a result of poorly structured data in the source XML instance. In this case, the source XML is poorly structured.
RESOLUTION
To resolve this issue:
- Set the Nested property of DataRelation to True.
- Write code in the XSLT stylesheet that uses natural top down hierarchical XPath query expressions to locate and transform the data.
STATUSThis behavior is by design.
Modification Type: | Major | Last Reviewed: | 3/13/2006 |
---|
Keywords: | kbtshoot kbprb KB325693 kbAudDeveloper |
---|
|