Apple Developer Connection
Member Login Log In | Not a Member? Contact ADC

Next Page > Hide TOC

Introduction to XML Programming Topics for Core Foundation

Contents:

Organization of This Document


Core Foundation provides support for parsing XML documents into structured objects you can use in your programs. XML is a platform-independent and extensible markup language.

This document describes the Core Foundation objects that you use to parse XML documents.

Organization of This Document

Core Foundation provides an XML parser you can use to read and extract data from XML documents. Core Foundation provides two APIs with which to access the parser. A tree-based API converts XML data into the Core Foundation collection CFXMLTree, and an event-driven and callback-based API allows you to perform any action you wish on each XML structure as it is encountered by the parser. This topic provides a brief introduction to XML and goes on to describe both of the XML parser interfaces in detail.

You need to understand the following concepts to use the XML objects:

The following task demonstrates how to parse a simple XML document using each of the Core Foundation XML parser interfaces:



Next Page > Hide TOC


Last updated: 2006-10-03




Did this document help you?
Yes: Tell us what works for you.

It’s good, but: Report typos, inaccuracies, and so forth.

It wasn’t helpful: Tell us what would have helped.
Get information on Apple products.
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Copyright © 2007 Apple Inc.
All rights reserved. | Terms of use | Privacy Notice