Optimization and Partial Transformation
You have now seen how to perform basic transformations in J# applications using XSLT. These types of transformations can take input from various sources and transform it into the appropriate form—which is sufficient for many uses. But if the transformations form part of critical application logic, this approach can create a performance bottleneck because of the inefficiency of repeated file and string manipulation. To address this, optimizations are required.
Searching and Navigating Using XPath
In Chapter 5, you briefly encountered the XPathNavigator class, which provides read-only access to the nodes in an XML document. You can navigate through these nodes, moving forward and backward as required. An XPathNavigator ...