I've seen a thread relating to altering conditional comments, but I can't find whether it's possible to add new conditional comments using the php dom functionality.
I essentially want to be able to add the following into (not the only example, but you get the idea!).
<!--[if ! lte IE 6]><link rel="stylesheet" href="css/default.css" /><!--<![endif]-->
I've looked at DomComment but it seems to add the closing tag for the comment, so I end up with:
<!--[if ! lte IE 6]--><link rel="stylesheet" href="css/default.css" /><!--<![endif]-->
this:
works for me. note that the proper syntax for a conditional comment is
not
as you say you want to have it.