Just add a xml-stylesheet PI:
<?xml-stylesheet type="text/xsl" href="mytransform.xsl"?> <doc> <title>Boring Document</title> <body> <p>I need style!</p> </body> </doc>
Adding this PI doesn't force all applications to use your transform. On the other hand, many application--browsers--will automatically do so for XML documents.