accept other media types in xml-stylesheet processing instruction, remove pi after stylesheet was applied, apply only one stylesheet. refs #508