Here are some exaples for translating XML with XSL stylesheets.
The example xml file (rfc10.xml) is a technical documentation are used
from the www.lanworld.de people.
It's ONLY an example - nothing more ;-)
The files rfc10.txt and rfc10.sgml are equal. I used *.sgml because
i needed for this example two mime types (text plain and an x-application type).
The extension of the parsed (x-application) type must be different from *.xml, because
*.xml is already declared in the /etc/mime.types of this webserver.
The webserver would deliver *.xml files without server sided parsing.
But the importand thing is : rfc10.xml.txt and rfc10.xml.sgml are content equal !!