SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 209 | Next

Scott Klein

"Professional LINQ"


You need to determine when you would use the XmlReader in a standalone scenario and when you
would use LINQ to XML. XmlReader is best used when you want to process a large number of XML
documents whose XML tree structure rarely differs and quickly processing those XML documents is
necessary. LINQ to XML shines when the XML documents differ in XML tree structure.
LINQ to XML versus XSLT
The only similarity between LINQ to XML and XSLT is the capability to transform XML. XSLT
is a declarative language that implements a rule-based approach. It does not take advantage of the
.NET Framework, thus requiring developers to learn a completely new language. Yet, used correctly, it
produces wonderful results, and an existing managed XSLT engine can compile XSLT into
managed code.
LINQ to XML, however, overcomes all of the XSLT shortcomings. Through LINQ to XML query
expressions, you can easily transform XML using functional construction (discussed in Chapter 8) and
constructing XElement objects dynamically, thus creating a completely new XML tree.


Pages:
197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221
hotel jelenia góra Russian bride Free English grammar and study guid powiekszenia wielkoformatowe counter strike 1.6