April 2002
Intermediate to advanced
416 pages
11h 50m
English
XML (Extensible Markup Language) is a text-based data storage language. It uses a series of tags that you define to store data. The file may begin with some XML declaration tags, followed by a single root data node that contains all the other data nodes in a hierarchy.
You do not need to explicitly declare the tags; you just start using them. For instance, Listing 7.1 shows an XML file describing three PhoneNumber records.
<AddressBook> <PhoneNumber> <LastName>Jenkins</LastName> <FirstName>Jeremy</FirstName> <HomePhone>987-654-3210</HomePhone> </PhoneNumber> <PhoneNumber> <LastName>Ketterling</LastName> <FirstName>Karen</FirstName> <WorkPhone>456-769-2340</WorkPhone> </PhoneNumber> <PhoneNumber> <LastName>Ludovico</LastName> ... |
Read now
Unlock full access