Quiz

1:True or False: XML files are better than flat text files because they can be transmitted easily over the Internet.
A1: False. XML files are better at defining hierarchical data, and they are self-describing with XML schemas. Both text files and XML files can be transmitted over the Internet.
2:All XML-specific classes are found in the ___________ namespace.
A2: System.Xml
3:Name the three main classes for reading forward-only XML data.
A3: XmlTextReader, XmlValidatingReader, XmlNodeReader
4:Using the __________ Transact SQL clause, you can easily create attribute-based XML files from SQL Server.
A4: FOR XML AUTO
5:Using the __________ method of the XmlTextReader class, you can get the attribute data value of a node.
A5: GetAttribute

Get Sams Teach Yourself Visual Studio® .NET 2003 in 21 Days now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.