Parsing an XML Response from the Cloud
When you use a web service that's based in the cloud, your response might be in XML. If, when working with your cloud-based web service, you were to enter the following in your web browser
http://maps.googleapis.com/maps/api/geocode/xml?sensor=true&address=Empire
State Building&
you'd get back some XML — this, for example:
<geometry>
<location>
<lat>40.7484395</lat>
<lng>-73.9856709</lng>
</location>
Since XML doesn't exactly express itself in ways that are easy to understand, you would then have to parse whatever it is that XML gives you.
Remember XML is made up of elements that have start and end tags. To get at the information through iCloud, you use the NSXMLParser class that uses the delegation pattern. Here's how that would work:
NSXMLParser *xmlParser = [[NSXMLParser alloc] initWithData:data];
[xmlParser setDelegate:self];
[xmlParser parse];
It turns out that there are four NSXMLParser delegate methods you will be implementing to parse an XML data structure:
parser:didStartElement:namespaceURI:qualifiedName:attributes:
parser:foundCharacters:
parser:didEndElement:namespaceURI:qualifiedName:
parser:parseErrorOccurred:
parser:didStartElement:namespaceURI:qualifiedName:attributes: lets you know that the parser has found an element with a tag, <lat> for example, and it's up to you to extract the data in the parser:foundCharacters: method.

Cloud Computing Glossary
cloud computing
A networking solution in which everything — from computing power to computing infrastructure, applications, business processes to personal collaboration — is delivered as a service wherever and whenever you need.

Cloud Computing Glossary
cloud service
The delivery of software, infrastructure, or storage that has been packaged so it can be automated and delivered to customers in a consistent and repeatable manner.

Cloud Computing Glossary
deprovision
The release of cloud services that are no longer needed.

Cloud Computing Glossary
federating
Linking distributed resources together over the cloud.

Cloud Computing Glossary
hypervisor
An operating system that acts as a traffic cop, managing the various virtualization tasks in the cloud to ensure that they make things happen in an orderly manner.

Cloud Computing Glossary
multi-tenancy
The sharing of underlying resources by multiple companies over a cloud.

Cloud Computing Glossary
network attached store
Storage that has its own network address through which it is accessed by the network's workstation users. Acronym: NAS

Cloud Computing Glossary
service level agreement
A contract that stipulates the type of service you need from providers and what type of penalties would result from an unexpected business interruption. Acronym: SLA

Cloud Computing Glossary
solution stack
An integrated set of software that provides everything a developer needs to build an application.

Cloud Computing Glossary
storage area network
A storage systems that is flexible and scalable because it's available to multiple hosts at the same time. Acronym: SAN

Cloud Computing Glossary
vertical industry groups
Workgroups comprised of members from a particular industry such as technology and retail.

Cloud Computing Glossary
virtual memory
The portion of your hard drive that Windows uses to expand the available RAM

Cloud Computing Glossary
virtualization
Using computer resources to imitate other computer resources or whole computers to maximize performance and flexibility.