added xslt logic