adding by-quarter processing for xslt