Did you write the xml yourself? I ask because I am having a problem with the attribute
I would have done it differently:
use tags instead of an attribute.
for eack <book> tag. Easier to render.