Effective Xml Part 2: How to kill the performance of an app with XPath

Posted by: XmlTeams WebLog, on 27 Sep 2011 | View original | Bookmarked: 0 time(s)

XPath expressions are pretty flexible. This flexibility allows for very creative ways of using XPath. Unfortunately some of them are suboptimal and cause bad performance of apps. This is especially visible in Xslt transformations where stylesheets contains tens if not hundreds of XPath expressions. Here is the list of the most common bad practices (or even anti-patterns) I have seen: 1. // (descendant-or-self axis) This is a very common pattern that very often leads to serious performance problems....

Advertisement
Free Agile Project Management Tool from Telerik
TeamPulse Community Edition helps your team effectively capture requirements, manage project plans, assign and track work, and most importantly, be continually connected with each other.
Category: XML | Other Posts: View all posts by this blogger | Report as irrelevant | View bloggers stats | Views: 353 | Hits: 27

Similar Posts

  • Update Out Of Browser (OOB) Silverlight apps more
  • HealthVault 0908 SDK Highlights more
  • Serialising Microsoft StreamInsight QueryTemplates more
  • RadScheduler for Silverlight learning series, part 4: So what is RecurrenceExceptionHelper? more
  • How to enable Silverlight 3 to run out of the browser more
  • Silverlight and localizing string data more
  • Provide startup parameters to Silverlight with InitParams more
  • Business Apps Example for Silverlight 3 RTM and .NET RIA Services July Update: Part 7: ADO.NET Data Services Based Data Store more
  • Updated SilverTwit Code for MSDN Magazine more
  • Changing Configuration Settings in a Desktop Client Application more

News Categories

.NET | Agile | Ajax | Architecture | ASP.NET | BizTalk | C# | Certification | Data | DataGrid | DataSet | Debugger | DotNetNuke | Events | GridView | IIS | Indigo | JavaScript | Mobile | Mono | Patterns and Practices | Performance | Podcast | Refactor | Regex | Security | Sharepoint | Silverlight | Smart Client Applications | Software | SQL | VB.NET | Visual Studio | W3 | WCF | WinFx | WPF | WSE | XAML | XLinq | XML | XSD