Here are a couple useful tips for those who care about cross-browser compatibility.
Given:
<script type="text/javascript" src="test.js"></script>
XSLT will automatically condense it to:
<script type="text/javascript" src="test.js"/>
While this is good, Internet Explorer breaks on empty script tags. So, the simple solution is to add something to prevent an empty tag. For example:
<script type="text/javascript" src="test.js"><xsl:comment/></script>
Produces:
<script type="text/javascript" src="test.js">
</script>
------------------------
Also, here is a way to use IE's conditional comments:
<xsl:comment>[if gte IE 5]>
<link rel="stylesheet" type="text/css" href="ie.css" />
<![endif]</xsl:comment>
Produces:
<!--[if gte IE 5]>
<link rel="stylesheet" type="text/css" href="ie.css" />
<![endif]-->
This will let you isolate IE-related CSS without needing to use ugly CSS hacks.