I was wondering a bit if you could help me when it comes to this. I am currently using the script from the xml forum to change content type and chose whether to display the xml prolog or not. However, in addition to this I want to use the xml-stylesheet syntax for stylesheets instead of the link syntax when in xml mode.