New attempts with xpathApply