Processing Different Types of Data

So far, you've seen how to retrieve ordinary text data from the Web, whether it's from a static file or dynamically generated by a web service. You've also seen how to search through that text if it contains HTML markup. But both plain text and HTML are limited from a programming point of view, because they're difficult to parse. More often, you'll deal with more complex structured data. Web services that return structured data usually adopt a standardized format, such as ordinary XML, SOAP messages, or JSON. Silverlight supports all three formats, and you'll see how to use them in the following sections.

XML

Many simple web services return their data in XML. When consuming this sort of service, you need to ...

Get Pro Silverlight 5 in VB 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.