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 239 | Next

Scott Klein

"Professional LINQ"


The following example serializes an XML tree to a TextWriter:
XElement employees = XElement.Parse(@"


Scott
Mr. SciFi
Gaming
04/17/92
M
M

");
using (StringWriter sw = new StringWriter())
{
employees.Save(sw, true);
}
You have many serialization options when using LINQ to XML; it is simply a matter of selecting the right
options for your application.
Namespaces
One of the more difficult concepts of XML programming is XML names and namespaces. You can think of
XML namespace on the same level as that of a namespace in a .NET Framework application. A namespace
uniquely qualifies your class names within your application. By using namespaces, you can avoid the
naming conflicts between different parts of an XML document.
XML namespaces serve several purposes in XML, and maybe that??™s the reason they seem to be so difficult
to understand.


Pages:
227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251
hotel jelenia góra Russian bride Free English grammar and study guid powiekszenia wielkoformatowe counter strike 1.6