4 ms·
You should have read the next paragraph. They do use that as an example <Users> <User> <FirstName>Michael</FirstName> <LastName>Scott
by shawabawa3 7y ago
You should have read the next paragraph. They do use that as an example
<Users>
<User>
<FirstName>Michael</FirstName>
<LastName>Scott</LastName>
<FavoriteMovies>
<Movie>Diehard</Movie>
<Movie>Threat Level Midnight</Movie>
</FavoriteMovies>
</User>
- jrochkind1 7y agoFair! Why the heck did the author first try to tell us XML had no "officially supported way" to do this then?
- Slartie 7y agoBecause it was about encoding a list of things in an _attribute_. Attribute! Using nested elements is not exactly a solution for that requirement.