December 2017
Beginner to intermediate
500 pages
12h 10m
English
Before starting work with XML, let's look at a brief introduction to the structure and basic terminology. Look at this piece of XML showing information about countries:
<world> ... <country> <name>Japan</name> <capital>Tokyo</capital> <language isofficial="T"> <name>Japanese</name> <percentage>99.1</percentage> </language> <language isofficial="F"> <name>Korean</name> <percentage>0.5</percentage> </language> <language isofficial="F"> <name>Chinese</name> <percentage>0.2</percentage> </language> ...</country>... </world>
This, as in any XML structure, is a set of nested elements. An element is a logical piece enclosed by a start tag and a matching end tag, for example, <country> </country>.
Within the start tag ...
Read now
Unlock full access