minor bugs cleaned in attribute selection, current(), sum(), xsl:value-of