in reply to Re^2: Child contains attributein thread Child contains attribute
Well then, search for "metadata" nodes after you have found "text" node. And, then get the attributes.