Extract tags content from XML