I\'m working with XML files from clinicaltrials.gov, which have a structure like this:
... ...
I don't understand why do you not use again xpathSApply, to retrieve locations as you already did for titles?!
xpathSApply
xpathSApply(xml_doc, "//clinical_study/location" , xmlValue)