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