I'm guessing despite my XSLT newb status that outputting something such as this is actually impossible because its not valid XML.
Code:
<![if !IE]><p>IE ignores this</p><![endif]>
Are there any workarounds?
At the moment I'm considering a PHP hack, as I'm running my XSLT via PHP anyway.
Code:
<ifNotIe><p>IE ignores this</p></ifNotIe>
Code:
$outputFromXslt = str_replace(
$outputFromXslt,
array('<ifNotIe>', '</ifNotIe>'),
array('<![if !IE]>', '<![endif]>')
);