Fixed #635: XML config parser only applies the xsl stylesheet defined in the first processing instruction
merge c23b0e25bc8e5400c93140d565a1fcccd09eec01