Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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>


Fair! Why the heck did the author first try to tell us XML had no "officially supported way" to do this then?


Because it was about encoding a list of things in an _attribute_. Attribute! Using nested elements is not exactly a solution for that requirement.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: